diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/eww/scripts/idleinhibit.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/eww/scripts/idleinhibit.sh b/.config/eww/scripts/idleinhibit.sh index c1d14b0..c24f715 100755 --- a/.config/eww/scripts/idleinhibit.sh +++ b/.config/eww/scripts/idleinhibit.sh @@ -4,12 +4,12 @@ toggle() { if pgrep "swayidle" > /dev/null then - pkill swayidle - notify-send --hint=string:x-canonical-private-synchronous:idleinhibit -u normal " Swayidle Inactive" - else + pkill swayidle + notify-send --hint=string:x-canonical-private-synchronous:idleinhibit -u normal " Swayidle Inactive" + else sh "$HOME/.config/river/scripts/swayidle-update.sh" notify-send --hint=string:x-canonical-private-synchronous:idleinhibit -u normal " Swayidle Active" - fi + fi } case $1 in |