mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add focus-column (by index) action
This commit is contained in:
committed by
Ivan Molodetskikh
parent
b4922086ce
commit
a5d58d670b
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user