Add focus-window-in-column (by index) action

This commit is contained in:
Ivan Molodetskikh
2025-02-05 17:18:21 +03:00
parent c41f93a468
commit a444efd0eb
8 changed files with 49 additions and 0 deletions
+8
View File
@@ -215,6 +215,14 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Focus a window in the focused column by index.
FocusWindowInColumn {
/// Index of the window in the column.
///
/// The index starts from 1 for the topmost window.
#[cfg_attr(feature = "clap", arg())]
index: u8,
},
/// Focus the previously focused window.
FocusWindowPrevious {},
/// Focus the column to the left.