diff --git a/.config/sway/config.sample b/.config/sway/config.sample index ea7bfef..f759e75 100644 --- a/.config/sway/config.sample +++ b/.config/sway/config.sample @@ -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/*