Skip to main content

start

Function start 

Source
pub fn start() -> Result<(Option<InitialFocus>, Receiver<FocusEvent>), FocusError>
Expand description

Start the Hyprland focus subscription.

Returns the currently-focused window (address + class) — if any — plus a receiver of subsequent FocusEvents.

§Errors

See FocusError.