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