Files
hypr/hypridle.conf
T
2026-07-24 10:05:42 +02:00

16 lines
571 B
Plaintext
Executable File

listener {
timeout = 300
on-timeout = hyprlock
}
listener {
timeout = 360
on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
}
listener {
timeout = 250 # in seconds.
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}