diff options
Diffstat (limited to 'niri-ipc/src')
| -rw-r--r-- | niri-ipc/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 791b09a4..c5551cc3 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -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. |
