diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf new file mode 100644 index 0000000..84831b4 --- /dev/null +++ b/hypr/hypridle.conf @@ -0,0 +1,12 @@ +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 +}