move_to_output

Function move_to_output 

Source
pub fn move_to_output<I>(
    output: &OutputHandle,
    tag_handles: I,
) -> Result<(), MoveToOutputError>
where I: IntoIterator<Item = TagHandle>,
Expand description

Moves existing tags to the specified output.

ยงExamples

let output = output::get_by_name("eDP-1")?;
let tag_to_move = tag::get("1")?;
tag::move_to_output(&output, [tag_to_move]);