Skip to main content

parse_mutter_idletime_ms

Function parse_mutter_idletime_ms 

Source
fn parse_mutter_idletime_ms(text: &str) -> Option<u64>
Expand description

Parse the gdbus call … GetIdletime reply — (uint64 12345,) — into idle milliseconds. Pure so the Wayland fallback’s parsing is testable without a live session bus; the gdbus spawn stays in mutter.