SWAYIDLE: used to lock screen after 6min

This commit is contained in:
Olivier DOSSMANN 2021-07-19 22:29:13 +02:00
parent 117a0ee6c8
commit a2e6853a1c

View File

@ -3,3 +3,6 @@
# Écran # Écran
unbindsym $mod+l unbindsym $mod+l
bindsym $mod+l exec swaylock 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'