aboutsummaryrefslogtreecommitdiff
path: root/.config/river/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/river/autostart.sh')
-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"