summaryrefslogtreecommitdiff
path: root/idle.sh
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-14 12:03:52 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-14 12:03:52 +0800
commit31929cd6f44ffe7cfb65d992a8541671715c9875 (patch)
tree4ef39ed488cc1e354beb3685863457a0e11f2ee6 /idle.sh
parent4afee5b56a43050c560303e028b1014fdd0732ff (diff)
updated
Diffstat (limited to 'idle.sh')
-rwxr-xr-xidle.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/idle.sh b/idle.sh
index 138764f..fede5f7 100755
--- a/idle.sh
+++ b/idle.sh
@@ -22,13 +22,14 @@ while true; do
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" $HOME/scripts/logs/auto-updater.log -a --force
+ script -c "$HOME/scripts/update.sh" /var/log/sysupdate.log -a --force
if [ $pmusic ] && [[ $(NekoMC --status) == "Playing" ]]; then
m=true
fi
if [ $pmusic ] && [ $m ]; then
NekoMC --pause &
fi
+ script -c "$HOME/scripts/clearcliphis.sh" $HOME/scripts/logs/clearcliphis.log -a --force
#killall picom; bspcomp & # paused in freezeapp and unfreezeapp
# Disable mouse just in case accidental awake for high DPI rate mouse
xinput --disable 12