$lock_cmd = pidof hyprlock || hyprlock $suspend_cmd = pidof steam || systemctl suspend || loginctl suspend # fuck nvidia general { lock_cmd = $lock_cmd before_sleep_cmd = loginctl lock-session } listener { timeout = 180 # 3mins on-timeout = loginctl lock-session } listener { timeout = 300 # 5mins on-timeout = hyprctl dispatch dpms off || niri msg action power-off-monitors on-resume = hyprctl dispatch dpms on || true } #listener { # timeout = 540 # 9mins # on-timeout = $suspend_cmd #}