diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-05 17:18:21 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-05 17:25:57 +0300 |
| commit | a444efd0ebee8e203877daedc7bc65584f72daba (patch) | |
| tree | 2ca010493711213ee3faced62b63a62048f37bad /niri-ipc/src | |
| parent | c41f93a468c4d04e16f8c89736cc48cd4ab4c623 (diff) | |
| download | niri-a444efd0ebee8e203877daedc7bc65584f72daba.tar.gz niri-a444efd0ebee8e203877daedc7bc65584f72daba.tar.bz2 niri-a444efd0ebee8e203877daedc7bc65584f72daba.zip | |
Add focus-window-in-column (by index) action
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. |
