Fix lockscreen

This commit is contained in:
Micke Nordin 2020-11-04 20:18:55 +01:00
parent ced62ea9ac
commit 953c1e3e83
2 changed files with 11 additions and 1 deletions

View file

@ -15,6 +15,16 @@ set $up k
set $right l
# Your preferred terminal emulator
set $term foot
# Lokkscreen
set $lock swaylock -c 550000
exec swayidle -w \
timeout 600 $lock \
timeout 570 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep $lock
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.

View file

@ -1,2 +1,2 @@
mode=drun
term=stterm
term=foot