New command `end-sequence`

timeout_old
Taeyeon Mori 3 years ago
parent 299caa4afe
commit 97d33f5856
  1. 5
      src/cmds.rs

@ -161,6 +161,8 @@ pub enum SwayrCommand {
#[clap(subcommand)] #[clap(subcommand)]
windows: ConsiderWindows, windows: ConsiderWindows,
}, },
/// End current next-prev sequence without doing anything else
EndSequence,
/// Move the currently focused window or container to the selected /// Move the currently focused window or container to the selected
/// workspace. /// workspace.
MoveFocusedToWorkspace, MoveFocusedToWorkspace,
@ -391,6 +393,9 @@ pub fn exec_swayr_cmd(args: ExecSwayrCmdArgs) {
&*props.read().unwrap(), &*props.read().unwrap(),
) )
} }
SwayrCommand::EndSequence => {
// IN_NEXT_PREV_WINDOW_SEQ set to false above
}
SwayrCommand::TileWorkspace { floating } => { SwayrCommand::TileWorkspace { floating } => {
tile_current_workspace(floating, false) tile_current_workspace(floating, false)
} }

Loading…
Cancel
Save