Skip to content

giacomozama/biiwadi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biiwadi

Barebones Idle Inhibitor With A DBus Interface (for Wayland compositors).

Originally based on Vigiland.

Dependencies

  • Rust
  • A compositor which supports the idle-inhibit-unstable-v1 protocol.

Building

cargo build --release

Usage

Once launched, the application will serve the following DBus interface on the session bus at /st/contraptioni/IdleInhibitor:

<interface name="st.contraptioni.IdleInhibitor1">
    <method name="EnableInhibitor">
    <arg type="b" direction="out"/>
    </method>
    <method name="DisableInhibitor">
    <arg type="b" direction="out"/>
    </method>
    <method name="ToggleInhibitor">
    <arg type="b" direction="out"/>
    </method>
    <property name="IsInhibitorActive" type="b" access="read"/>
</interface>

Note

  • The EnableInhibitor and DisableInhibitor methods will return false if the inhibitor was already in the requested state, true otherwise
  • The ToggleInhibitor method will return true if the inhibitor was enabled, false if it was disabled
  • The IsInhibitorActive method will return true if the inhibitor is currently enabled, false otherwise

About

Barebones Idle Inhibitor With A DBus Interface (for Wayland compositors).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%