sway/config: Disable swaylock
See: https://github.com/swaywm/sway/issues/6131
This commit is contained in:
parent
7cced2e0f5
commit
a1f6918c52
@ -97,10 +97,8 @@ exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||
set $lock_bg ~/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg
|
||||
|
||||
exec swayidle \
|
||||
timeout 300 'swaylock -c 000000 -i $lock_bg' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -c 000000 -i $lock_bg'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
|
Loading…
Reference in New Issue
Block a user