Release / 2025-03-28
hypridle v0.1.6
Run commands when the Wayland session is actually locked or unlocked, whichever tool locked it.
Before you upgrade to v0.1.6
1 to fixWhat changed in v0.1.6
New general:on_lock_cmd and general:on_unlock_cmd, driven by the hyprland-lock-notify-v1 protocol, and general:inhibit_sleep, which can hold off sleep until the session is locked. Adds --version.
v0.1.6; on_lock_cmd, on_unlock_cmd and inhibit_sleep = 3 need a compositor with hyprland-lock-notify-v1. Building now needs hyprwayland-scanner.
New things you can do
on_lock_cmd and on_unlock_cmd.
Read the evidence
Fixed and improved
general:inhibit_sleep controls whether sleep waits for hypridle; inhibit_sleep = 3 waits until the session is locked, so the lock screen is up before suspend.
Seeded by @iluxav with Claude Code (canido), from the release's public sources. Each change links to its evidence.