aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc
diff options
context:
space:
mode:
Diffstat (limited to 'niri-ipc')
-rw-r--r--niri-ipc/src/lib.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index 10d88de7..f01a1923 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -677,6 +677,8 @@ pub enum Action {
},
/// Switch between preset column widths.
SwitchPresetColumnWidth {},
+ /// Switch between preset column widths backwards.
+ SwitchPresetColumnWidthBack {},
/// Switch between preset window widths.
SwitchPresetWindowWidth {
/// Id of the window whose width to switch.
@@ -685,6 +687,14 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(long))]
id: Option<u64>,
},
+ /// Switch between preset window widths backwards.
+ SwitchPresetWindowWidthBack {
+ /// Id of the window whose width to switch.
+ ///
+ /// If `None`, uses the focused window.
+ #[cfg_attr(feature = "clap", arg(long))]
+ id: Option<u64>,
+ },
/// Switch between preset window heights.
SwitchPresetWindowHeight {
/// Id of the window whose height to switch.
@@ -693,6 +703,14 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(long))]
id: Option<u64>,
},
+ /// Switch between preset window heights backwards.
+ SwitchPresetWindowHeightBack {
+ /// Id of the window whose height to switch.
+ ///
+ /// If `None`, uses the focused window.
+ #[cfg_attr(feature = "clap", arg(long))]
+ id: Option<u64>,
+ },
/// Toggle the maximized state of the focused column.
MaximizeColumn {},
/// Change the width of the focused column.