diff options
| author | Duncan Overbruck <mail@duncano.de> | 2025-03-13 03:09:06 +0100 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-03-14 12:57:33 -0700 |
| commit | f6aa8c17937fadd1da3c8f2f080ea402ae17da87 (patch) | |
| tree | 8a4ca8f238c98a238e86b8c5331e33e414547601 /niri-ipc/src | |
| parent | a5d58d670bde166ff8bca8a83bb6f1136c7fa67b (diff) | |
| download | niri-f6aa8c17937fadd1da3c8f2f080ea402ae17da87.tar.gz niri-f6aa8c17937fadd1da3c8f2f080ea402ae17da87.tar.bz2 niri-f6aa8c17937fadd1da3c8f2f080ea402ae17da87.zip | |
Add move-column-to-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 c7dd2083..870fce45 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -301,6 +301,14 @@ pub enum Action { MoveColumnLeftOrToMonitorLeft {}, /// Move the focused column to the right or to the monitor to the right. MoveColumnRightOrToMonitorRight {}, + /// Move the focused column to a specific index on its workspace. + MoveColumnToIndex { + /// New index for the column. + /// + /// The index starts from 1 for the first column. + #[cfg_attr(feature = "clap", arg())] + index: usize, + }, /// Move the focused window down in a column. MoveWindowDown {}, /// Move the focused window up in a column. |
