Add move-column-to-index action

This commit is contained in:
Duncan Overbruck
2025-03-13 03:09:06 +01:00
committed by Ivan Molodetskikh
parent a5d58d670b
commit f6aa8c1793
7 changed files with 40 additions and 0 deletions
+8
View File
@@ -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.