SWAYIDLE: used to lock screen after 6min
This commit is contained in:
parent
117a0ee6c8
commit
a2e6853a1c
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user