Fix lockscreen

main
Micke Nordin 4 years ago
parent ced62ea9ac
commit 953c1e3e83

@ -15,6 +15,16 @@ set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term foot 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 # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # 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. # on the original workspace that the command was run on.

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

Loading…
Cancel
Save