1
0
Fork 0

Disable autolock

This commit is contained in:
Malte Brandy 2019-12-09 16:40:32 +01:00
parent d96c904a13
commit 36616febe2
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -3,9 +3,7 @@ set $lock swaylock -e -F -l -s fill -f -i ~/volatile/wallpaper.jpg
exec systemctl --user set-environment SWAYSOCK="$SWAYSOCK"
exec swayidle -w \
timeout 600 '$lock' \
timeout 570 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '$lock'
output * bg ~/volatile/wallpaper.jpg fill