From a444efd0ebee8e203877daedc7bc65584f72daba Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 5 Feb 2025 17:18:21 +0300 Subject: Add focus-window-in-column (by index) action --- niri-ipc/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'niri-ipc/src') 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. -- cgit