Files
hypr/hypridle.conf
T

20 lines
480 B
Plaintext
Executable File

# listener {
# timeout = 200
# on-timeout = notify-send -u low "You are idle!"
# on-resume = notify-send -u low "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 '*'
}