Expand description
The module trait and some useful implementations such as combinators
Re-exports§
pub use self::pulse::NotWhenAudio;pub use self::stop_at::StopAt;pub use self::xcb::Xcb;
Modules§
- pulse
- Uses
PulseAudio’s APIs to detect whenever audio is playing, and if so it refuses to let xidlehook run the next timer command. This is used to implement--not-when-audioin the xidlehook example application. - stop_at
- Stops xidlehook completely at a specific index of the chain or at
the end. This is used to implement
--oncein the xidlehook example application. - xcb
- Various X-related utilities. The
Xcbobject must be used regardless of whether or not you want to useNotWhenAudio- it’s xidlehook’s simple way to obtain the idle time. TheNotWhenFullscreenmodule is used to implement--not-when-fullscreenin the example client.
Enums§
- Progress
- A decision each module has to take before a timer is executed: Should it be?
Traits§
- Module
- A generic module that controls whether timers should execute or not (outside of the normal timer)