SWAYIDLE: used to lock screen after 6min

vif
Olivier DOSSMANN 2021-07-19 22:29:13 +02:00
parent 117a0ee6c8
commit a2e6853a1c
1 changed files with 3 additions and 0 deletions

View File

@ -3,3 +3,6 @@
# É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'