aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-05 17:18:21 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-05 17:25:51 +0300
commitc41f93a468c4d04e16f8c89736cc48cd4ab4c623 (patch)
tree3f6e8fb315550288b4e293e873b13dbf2d421486 /niri-ipc
parent900da597e4d3d09ad4c4ddc3ba2abf58c4886ec9 (diff)
downloadniri-c41f93a468c4d04e16f8c89736cc48cd4ab4c623.tar.gz
niri-c41f93a468c4d04e16f8c89736cc48cd4ab4c623.tar.bz2
niri-c41f93a468c4d04e16f8c89736cc48cd4ab4c623.zip
Add focus-window-top/bottom/down-or-top/up-or-bottom actions
Diffstat (limited to 'niri-ipc')
-rw-r--r--niri-ipc/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index 5d611c5a..791b09a4 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -253,6 +253,14 @@ pub enum Action {
FocusWindowOrWorkspaceDown {},
/// Focus the window or the workspace above.
FocusWindowOrWorkspaceUp {},
+ /// Focus the topmost window.
+ FocusWindowTop {},
+ /// Focus the bottommost window.
+ FocusWindowBottom {},
+ /// Focus the window below or the topmost window.
+ FocusWindowDownOrTop {},
+ /// Focus the window above or the bottommost window.
+ FocusWindowUpOrBottom {},
/// Move the focused column to the left.
MoveColumnLeft {},
/// Move the focused column to the right.