diff options
Diffstat (limited to '.local/share/s6/swayidle/run')
| -rwxr-xr-x | .local/share/s6/swayidle/run | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/share/s6/swayidle/run b/.local/share/s6/swayidle/run new file mode 100755 index 0000000..b41d059 --- /dev/null +++ b/.local/share/s6/swayidle/run @@ -0,0 +1,9 @@ +#!/bin/execlineb -P +foreground { + swayidle -w \ + timeout 540 'lock' \ + timeout 800 'swaymsg output \* dpms off' \ + resume 'swaymsg output \* dpms on' \ + before-sleep 'lock' \ + lock 'lock' +} |