From 97d33f58561c1b0c5bba9c6780f911ca6bf371f4 Mon Sep 17 00:00:00 2001 From: Taeyeon Mori Date: Sun, 20 Mar 2022 13:56:51 +0100 Subject: [PATCH] New command `end-sequence` --- src/cmds.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cmds.rs b/src/cmds.rs index 62166eb..35b0ef9 100644 --- a/src/cmds.rs +++ b/src/cmds.rs @@ -161,6 +161,8 @@ pub enum SwayrCommand { #[clap(subcommand)] windows: ConsiderWindows, }, + /// End current next-prev sequence without doing anything else + EndSequence, /// Move the currently focused window or container to the selected /// workspace. MoveFocusedToWorkspace, @@ -391,6 +393,9 @@ pub fn exec_swayr_cmd(args: ExecSwayrCmdArgs) { &*props.read().unwrap(), ) } + SwayrCommand::EndSequence => { + // IN_NEXT_PREV_WINDOW_SEQ set to false above + } SwayrCommand::TileWorkspace { floating } => { tile_current_workspace(floating, false) }