diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-26 21:52:39 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-26 21:52:39 +0800 |
| commit | 4bafe49e51237da9f4f92c935912426d3661cc11 (patch) | |
| tree | 1ec72d2f1c57ff6fee44269b1166dbf5f550d71e | |
| parent | b5b8e7c7c79c9f0e8cc8ac3820f3211f3c78ddf0 (diff) | |
changed update from manual to via topgrade
| -rwxr-xr-x | idle.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
