Files
hypr/hypridle.conf
T
Hannes 382762c60e perf: Improve hypridle configuration handling
- Use hyprctl dispatch for dpms actions
- Remove unnecessary bash scripts
- Update configuration consistency
2026-08-22 22:24:30 +02:00

20 lines
454 B
Plaintext
Executable File

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 '*'
}