general { lock_cmd = pidof hyprlock || hyprlock before_sleep_cmd = loginctl lock-session after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({action = "on"})' } listener { timeout = 600 # 10 min - lock the session on-timeout = loginctl lock-session } listener { timeout = 720 # 12 min - blank the display on-timeout = hyprctl dispatch 'hl.dsp.dpms({action = "off"})' on-resume = hyprctl dispatch 'hl.dsp.dpms({action = "on"})' }