summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-07-26 21:52:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-07-26 21:52:39 +0800
commit4bafe49e51237da9f4f92c935912426d3661cc11 (patch)
tree1ec72d2f1c57ff6fee44269b1166dbf5f550d71e
parentb5b8e7c7c79c9f0e8cc8ac3820f3211f3c78ddf0 (diff)
changed update from manual to via topgrade
-rwxr-xr-xidle.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/idle.sh b/idle.sh
index 78b6b3c..9e192fa 100755
--- a/idle.sh
+++ b/idle.sh
@@ -52,7 +52,9 @@ function idle() {
elif [ $mutev ] && [[ ! $(pactl get-sink-mute @DEFAULT_SINK@) == "Mute: no" ]] && [[ ! $(pactl get-sink-mute @DEFAULT_SINK@) == "Mute: yes" ]]; then
notify-send -u critical "Unable to get volume(sound) status: $(pactl get-sink-mute @DEFAULT_SINK@)"
fi
- script -c "$HOME/scripts/update.sh" /var/log/sysupdate.log -a --force
+ # script -c "$HOME/scripts/update.sh" /var/log/sysupdate.log -a --force
+ script -c 'topgrade -y --no-retry' /var/log/sysupdate.log -a --force
+
if [ $pmusic ]; then
if [[ $(playerctl status -p spotify) == "Playing" ]]; then
m=true