# 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'