aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc
diff options
context:
space:
mode:
authorJulian Schuler <julianschuler@users.noreply.github.com>2024-12-15 16:04:42 +0100
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-02 15:15:23 +0300
commitc17d4dc050327c974535369b0b70726b269fd82b (patch)
treebbaf75157b6cd20826bde16a67f60f3484746c3e /niri-ipc
parent4e33f4552226fbadb156ca16b483cda10d04b433 (diff)
downloadniri-c17d4dc050327c974535369b0b70726b269fd82b.tar.gz
niri-c17d4dc050327c974535369b0b70726b269fd82b.tar.bz2
niri-c17d4dc050327c974535369b0b70726b269fd82b.zip
Add actions to focus/move to next/previous monitor
Diffstat (limited to 'niri-ipc')
-rw-r--r--niri-ipc/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index a53ac8ab..856f6757 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -358,6 +358,10 @@ pub enum Action {
FocusMonitorDown {},
/// Focus the monitor above.
FocusMonitorUp {},
+ /// Focus the previous monitor.
+ FocusMonitorPrevious {},
+ /// Focus the next monitor.
+ FocusMonitorNext {},
/// Move the focused window to the monitor to the left.
MoveWindowToMonitorLeft {},
/// Move the focused window to the monitor to the right.
@@ -366,6 +370,10 @@ pub enum Action {
MoveWindowToMonitorDown {},
/// Move the focused window to the monitor above.
MoveWindowToMonitorUp {},
+ /// Move the focused window to the previous monitor.
+ MoveWindowToMonitorPrevious {},
+ /// Move the focused window to the next monitor.
+ MoveWindowToMonitorNext {},
/// Move the focused column to the monitor to the left.
MoveColumnToMonitorLeft {},
/// Move the focused column to the monitor to the right.
@@ -374,6 +382,10 @@ pub enum Action {
MoveColumnToMonitorDown {},
/// Move the focused column to the monitor above.
MoveColumnToMonitorUp {},
+ /// Move the focused column to the previous monitor.
+ MoveColumnToMonitorPrevious {},
+ /// Move the focused column to the next monitor.
+ MoveColumnToMonitorNext {},
/// Change the width of a window.
#[cfg_attr(
feature = "clap",
@@ -460,6 +472,10 @@ pub enum Action {
MoveWorkspaceToMonitorDown {},
/// Move the focused workspace to the monitor above.
MoveWorkspaceToMonitorUp {},
+ /// Move the focused workspace to the previous monitor.
+ MoveWorkspaceToMonitorPrevious {},
+ /// Move the focused workspace to the next monitor.
+ MoveWorkspaceToMonitorNext {},
/// Toggle a debug tint on windows.
ToggleDebugTint {},
/// Toggle visualization of render element opaque regions.