listener { timeout = 200 on-timeout = notify-send "You are idle!" on-resume = notify-send "Welcome back!" ignore_inhibit = true } listener { timeout = 300 on-timeout = hyprlock } listener { timeout = 360 on-timeout = hyprctl dispatch "hl.dsp.dpms({action = 'off'})" on-resume = hyprctl dispatch "hl.dsp.dpms({action = 'on'})" # alternative: # on-timeout = wlopm --off '*' # on-resume = wlopm --on '*' }