diff --git a/hypridle.conf b/hypridle.conf index 5814e96..75d5db2 100644 --- a/hypridle.conf +++ b/hypridle.conf @@ -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 }