Files
adamfandClaude Opus 5.5 6e2bbc5277 Add hypridle config
Lock via hyprlock on lock-session/sleep and report idle/resume and
lock/unlock events to hypr-agent for activity tracking.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 23:23:06 +01:00

13 lines
375 B
Plaintext

general {
lock_cmd = ~/.local/bin/hypr-agent lock; pidof hyprlock || hyprlock
unlock_cmd = ~/.local/bin/hypr-agent unlock
before_sleep_cmd = loginctl lock-session
}
# Mark idle time for the activity tracker after 5 minutes without input.
listener {
timeout = 300
on-timeout = ~/.local/bin/hypr-agent idle
on-resume = ~/.local/bin/hypr-agent resume
}