From 495104a10970d6958ce7552a0f27e95b3c099923 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 21 Dec 2024 17:48:52 +0000 Subject: Removed swayidle lines and replaced with a script swayidle-update.sh. --- .config/eww/scripts/idleinhibit.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.config/eww') diff --git a/.config/eww/scripts/idleinhibit.sh b/.config/eww/scripts/idleinhibit.sh index b1e5d63..c1d14b0 100755 --- a/.config/eww/scripts/idleinhibit.sh +++ b/.config/eww/scripts/idleinhibit.sh @@ -7,12 +7,7 @@ toggle() { pkill swayidle notify-send --hint=string:x-canonical-private-synchronous:idleinhibit -u normal " Swayidle Inactive" else - read -r wallpaper<~/.cache/wallpaper - export wallpaper="$($wallpaper)" - swayidle -w \ - timeout 300 "swaylock -f -i $wallpaper" \ - timeout 600 "wlopm --off \*;swaylock -F -i $wallpaper' resume 'wlopm --on \*" \ - before-sleep "swaylock -f -i $wallpaper" & + sh "$HOME/.config/river/scripts/swayidle-update.sh" notify-send --hint=string:x-canonical-private-synchronous:idleinhibit -u normal " Swayidle Active" fi } -- cgit v1.2.3