sway: fix screen locking

This commit is contained in:
Tim Schubert 2020-04-05 17:25:36 +02:00
parent cfa4196275
commit 00d3a63ae4
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -278,6 +278,6 @@ for_window [class="jetbrains-studio"] floating enable
focus_follows_mouse no focus_follows_mouse no
exec xset s off exec xset s off
exec xss-lock -- lock-session #exec xss-lock -- lock-session
#exec swayidle timeout 60 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -i ~/.config/nixpkhs/sway/wallpaper' exec swayidle -w timeout 300 '$HOME/bin/lock-session' timeout 240 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep '$HOME/bin/lock-session' lock '$HOME/bin/lock-session'
#exec redshift #exec redshift