diff options
Diffstat (limited to 'niri-ipc')
| -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 d4886819..c7dd2083 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -249,6 +249,14 @@ pub enum Action { FocusColumnRightOrFirst {}, /// Focus the next column to the left, looping if at start. FocusColumnLeftOrLast {}, + /// Focus a column by index. + FocusColumn { + /// Index of the column to focus. + /// + /// The index starts from 1 for the first column. + #[cfg_attr(feature = "clap", arg())] + index: usize, + }, /// Focus the window or the monitor above. FocusWindowOrMonitorUp {}, /// Focus the window or the monitor below. |
