aboutsummaryrefslogtreecommitdiff
path: root/.config/eww
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww')
-rwxr-xr-x.config/eww/scripts/idleinhibit.sh8
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