general { lock_cmd = hyprlock before_sleep_cmd = hyprlock --no-fade-in --immediate -q && sleep 0.5 inhibit_sleep = 3 } listener { timeout = 300 on-timeout = brightnessctl -c backlight -s set 10% on-resume = brightnessctl -c backlight -r } listener { timeout = 410 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 }