aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-12-21 17:47:48 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-12-21 17:47:48 +0000
commit444dca4092ce6afc25b6b1b35a410488c985adb4 (patch)
tree138eff73acd3f8d26cd31a9e43c90e0e49d924ae /.config
parent2c91cea098a4ca8e0db4f211715362a6e626119e (diff)
Removed swayidle lines from autostart.sh and replaced with a script swayidle-update.sh.
Diffstat (limited to '.config')
-rwxr-xr-x.config/river/autostart.sh11
1 files changed, 6 insertions, 5 deletions
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"