Fix lockscreen
This commit is contained in:
parent
ced62ea9ac
commit
953c1e3e83
2 changed files with 11 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
mode=drun
|
||||
term=stterm
|
||||
term=foot
|
||||
|
|
Loading…
Add table
Reference in a new issue