dotfiles/.config/sway/config.d/64-verrouillage.conf

9 lines
234 B
Plaintext
Raw Normal View History

# Verrouillage
# Écran
unbindsym $mod+l
bindsym $mod+l exec swaylock
# Automatique
exec swayidle -w timeout 300 'swaylock -f' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f'