Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.27 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.27 KB

sd-inhibit-bridge

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.

How to use

  1. Enable the service: systemctl --user enable --now sd-inhibit-bridge.service
  2. Trigger an idle inhibitor (e.g. watch a video in Firefox)
  3. Inspect active inhibitors: systemd-inhibit --list

Note: a logind-aware idle manager (such as swayidle) is required to honor the idle inhibitors.

Install from package

Available for Arch Linux on the AUR.

Install from source

meson setup --prefix=/usr/local build
meson install -C build

Acknowledgements