X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/blobdiff_plain/2ec571aa18cf2c098c9cd55987d41ccd79ca529d..88de7209d67eb9846266022a2ad71e0825589595:/sway/.config/sway/config diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 5c55f52..90de322 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -220,4 +220,11 @@ bar { font pango:DejaVu Sans Mono 10 } +# Use swaylock via swayidle - lock screen after 5 minutes of inactivity +exec swayidle -w \ +timeout 300 'swaylock -f -c 000000' \ +timeout 600 'swaymsg "output * dpms off"' \ +resume 'swaymsg "output * dpms on"' \ +before-sleep 'swaylock -f -c 000000' + include /etc/sway/config.d/*