changed idle config

This commit is contained in:
Maximilian Wagner 2025-06-25 16:42:37 +02:00
parent 44a5aa2e93
commit 6b239bbde6

View File

@ -1,7 +1,7 @@
general { general {
lock_cmd = hyprlock lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = hyprlock --no-fade-in --immediate -q && sleep 0.5 before_sleep_cmd = loginctl lock-session
inhibit_sleep = 3 after_sleep_cmd = hyprctl dispatch dpms on
} }
@ -12,13 +12,13 @@ listener {
} }
listener { listener {
timeout = 410 timeout = 360
on-timeout = hyprctl dispatch dpms off on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on on-resume = hyprctl dispatch dpms on
} }
listener { listener {
timeout = 420 timeout = 420
on-timeout = hyprlock --no-fade-in --immediate -q && systemctl suspend on-timeout = systemctl suspend
} }