sway: added swayidle, swaylock

This commit is contained in:
Tobias Schmidl 2021-10-04 13:55:52 +02:00
parent 41855e25d3
commit 3af59b04ed

View file

@ -255,4 +255,11 @@ bar {
}
exec xrdb $HOME/.Xresources
exec mako
exec swayidle -w \
timeout 60 'swaylock -f -c 000000' \
timeout 90 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' \
lock 'swaylock -f -c 000000'
bindsym --release $mod+Shift+s exec loginctl lock-session
include /etc/sway/config.d/*