diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-01-27 00:03:43 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-01-27 00:03:43 +0800 |
| commit | 152a0edbad24e5a478e0d3a04c5f686e75b591fe (patch) | |
| tree | 0c3295431cd846a17601a9a66dcd4bed2cfaab10 | |
| parent | b8f36709338201c2a9feadfc3cd2b8669b3c51e2 (diff) | |
hypridle: deal with mpvpaper
| -rwxr-xr-x | hypridle.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
