Function get

Source
pub fn get(name: impl ToString) -> Option<TagHandle>
Expand description

Gets a handle to the first tag with the given name on the focused output.

To get the first tag with the given name on a specific output, see get_on_output.

ยงExamples

let tag = tag::get("2")?;