osfeed.dev
First release /

hypridle v0.1.0

Run your own commands after a set time without input, and again when you come back.

What changed in v0.1.0

First release. Configured in ~/.config/hypr/hypridle.conf with a general block (lock_cmd, unlock_cmd, before_sleep_cmd, ignore_dbus_inhibit) and any number of listener blocks (timeout, on-timeout, on-resume).

Build from source with CMake; needs wayland, wayland-protocols, hyprlang >= 0.4.0 and sdbus-c++.

New things you can do

Add as many listener blocks as you need, each with timeout, on-timeout and on-resume.

AddedRun a command after a set number of seconds without input, and another when activity resumes.
Read the evidence

lock_cmd and unlock_cmd run on the logind Lock and Unlock signals.

AddedRun your lock and unlock commands when the session is locked or unlocked through loginctl.
Read the evidence

D-Bus inhibit requests are honored unless ignore_dbus_inhibit is true.

AddedKeep idle actions from firing while an app such as Firefox or Steam asks the system to stay awake.
Read the evidence

Seeded by @iluxav with Claude Code (canido), from the release's public sources. Each change links to its evidence.