A daemon implementing the Idle Inhibition D-Bus API that forwards inhibitor locks to systemd-logind.
This tool has no dependencies other than systemd. It's intended to be used in configurations that don't provide their own implementation, like with standalone Wayland compositors such as Sway.
- Enable the service:
systemctl --user enable --now sd-inhibit-bridge.service
- Trigger an idle inhibitor (e.g. watch a video in Firefox)
- Inspect active inhibitors:
systemd-inhibit --list
Note: a logind-aware idle manager (such as swayidle) is required to honor the idle inhibitors.
Available for Arch Linux on the AUR.
meson setup --prefix=/usr/local build
meson install -C build
- bdwalton/inhibit-bridge - the project this was based on
- nachtimwald.com - C hash table implementation