diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/river/scripts/swayidle-update.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/river/scripts/swayidle-update.sh b/.config/river/scripts/swayidle-update.sh new file mode 100755 index 0000000..7a84607 --- /dev/null +++ b/.config/river/scripts/swayidle-update.sh @@ -0,0 +1,6 @@ +#!/bin/sh +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" & |