Skip to main content

inhibit

Function inhibit 

Source
pub fn inhibit(desktop_entry: &str, reason: &str) -> Result<Inhibition, String>
Expand description

Asks the notification server to hold notifications back while Sioul pauses: desktop_entry names the application (its desktop file, which Plasma shows by its name), reason the pause. Fails when the server has no such call or refuses; the error is the server’s.