Change display sleep time and lock time, set an unlocker, and enable display sleep
This commit is contained in:
parent
829622a980
commit
925421a9c2
|
@ -2,18 +2,20 @@
|
|||
#
|
||||
# Thurstylark
|
||||
|
||||
set $lock-time 600
|
||||
set $dispsleep-time 900
|
||||
set $lock-time 900
|
||||
set $dispsleep-time 600
|
||||
|
||||
set $dispsleep 'swaymsg "output * dpms off"'
|
||||
set $dispwake 'swaymsg "output * dpms on"'
|
||||
|
||||
set $locker "swaylock -f -F -l -c 000000"
|
||||
set $locker "swaylock -e -f -F -l -c 000000"
|
||||
set $unlocker "killall swaylock"
|
||||
|
||||
exec swayidle -w \
|
||||
timeout $lock-time $locker \
|
||||
# timeout $dispsleep-time $dispsleep \
|
||||
timeout $dispsleep-time $dispsleep \
|
||||
resume $dispwake \
|
||||
after-resume $dispwake \
|
||||
before-sleep $locker \
|
||||
lock $locker
|
||||
lock $locker \
|
||||
unlock $unlocker
|
||||
|
|
Loading…
Reference in New Issue