From 4bafe49e51237da9f4f92c935912426d3661cc11 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 26 Jul 2024 21:52:39 +0800 Subject: changed update from manual to via topgrade --- idle.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3