added grace period

This commit is contained in:
KoenDR06 2025-05-17 17:53:08 +02:00
parent 49c774c5d0
commit 3338b04827

View file

@ -5,6 +5,12 @@ general {
# Turn off screen
listener {
timeout = 300
on-timeout = loginctl lock-session; hyprctl dispatch dpms off
on-timeout = ; hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# Lock screen ten seconds later
listener {
timeout = 310
on-timeout = loginctl lock-session
}