From 444dca4092ce6afc25b6b1b35a410488c985adb4 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 21 Dec 2024 17:47:48 +0000 Subject: Removed swayidle lines from autostart.sh and replaced with a script swayidle-update.sh. --- .config/river/autostart.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.config/river') diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh index 5b0aae4..84b9196 100755 --- a/.config/river/autostart.sh +++ b/.config/river/autostart.sh @@ -33,8 +33,9 @@ backlight "$(grep 'brightness:' ~/.cache/brightness | awk '{print $2}')" mixer vol.volume="$(grep 'vol.volume=' ~/.cache/audio-volume | awk -F ':' '{print $2}')" mixer vol.mute="$(grep 'vol.mute=' ~/.cache/audio-volume | awk -F '=' '{print $2}')" -pkill -f swayidle -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" & +# pkill -f swayidle +# 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" -- cgit v1.2.3