Skip to content

A daemon implementing the Idle Inhibition D-Bus API that forwards inhibitor locks to systemd-logind

License

Notifications You must be signed in to change notification settings

notpeelz/sd-inhibit-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A daemon implementing the Idle Inhibition D-Bus API that forwards inhibitor locks to systemd-logind

Resources

License

Stars

Watchers

Forks