~tsdh/swayr

dd348a451801445bc70fdcfaada0f4bed7c64fea — Tassilo Horn a month ago 191c013
Small rearrangement to stop clippy from suggesting a fix for a non-issue
1 files changed, 4 insertions(+), 4 deletions(-)

M src/cmds.rs
M src/cmds.rs => src/cmds.rs +4 -4
@@ 221,15 221,15 @@ pub fn quit_workspace_or_window(

fn get_swaymsg_commands<'a>() -> Vec<SwaymsgCmd<'a>> {
    let mut cmds = vec![];
    cmds.push(vec!["exit"]);
    cmds.push(vec!["floating", "toggle"]);
    cmds.push(vec!["focus", "child"]);
    cmds.push(vec!["focus", "parent"]);

    for b in &["none", "normal", "csd", "pixel"] {
        cmds.push(vec!["border", b]);
    }

    cmds.push(vec!["exit"]);
    cmds.push(vec!["floating", "toggle"]);
    cmds.push(vec!["focus", "child"]);
    cmds.push(vec!["focus", "parent"]);
    cmds.push(vec!["focus", "tiling"]);
    cmds.push(vec!["focus", "floating"]);
    cmds.push(vec!["focus", "mode_toggle"]);