general { lock_cmd = pidof hyprlock || hyprlock before_sleep_cmd = hyprlock & disown && systemctl suspend } listener { timeout = 300 on-timeout = hyprlock } listener { timeout = 600 on-timeout = systemctl suspend }