From 152a0edbad24e5a478e0d3a04c5f686e75b591fe Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 27 Jan 2025 00:03:43 +0800 Subject: hypridle: deal with mpvpaper --- hypridle.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypridle.sh b/hypridle.sh index f6832f9..aba53b0 100755 --- a/hypridle.sh +++ b/hypridle.sh @@ -43,6 +43,7 @@ function idle() { brillo -S 0 # turn off debug overlay just in case we forget hyprctl keyword debug:overlay false + killall -STOP mpvpaper.sh mpvpaper } function stopidle() { @@ -53,6 +54,7 @@ function stopidle() { #elif [ $mutev ] && [ ! $soundlevel ]; then # notify-send "ERROR: \$soundlevel is not set, unknown sound level..." #fi + killall wallust mpvpaper.sh & $HOME/scripts/mpvpaper.sh & if [ $mutev ] && [[ $(pactl get-sink-mute @DEFAULT_SINK@) == "Mute: yes" ]]; then amixer set Master unmute & # elif [ $mutev ] && [[ $(pactl get-sink-mute @DEFAULT_SINK@) == "Mute: no" ]]; then -- cgit v1.2.3