diff options
| author | Micah N Gorrell <m@minego.net> | 2024-05-22 13:53:44 -0600 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-24 16:44:20 +0400 |
| commit | eb0f7aa4293b7d65c47fd53df9a9880e7a2c75d7 (patch) | |
| tree | 9d9b9df2a0df1fb19c3d21399fef9b8aca1d264e /niri-ipc/src | |
| parent | bcca03cce7da9dc4125aa34943041cb65e0fd4bb (diff) | |
| download | niri-eb0f7aa4293b7d65c47fd53df9a9880e7a2c75d7.tar.gz niri-eb0f7aa4293b7d65c47fd53df9a9880e7a2c75d7.tar.bz2 niri-eb0f7aa4293b7d65c47fd53df9a9880e7a2c75d7.zip | |
Added actions to allow focusing up or down as normal but to wrap to the column to the left or right if there is no window above or below
Diffstat (limited to 'niri-ipc/src')
| -rw-r--r-- | niri-ipc/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index b57860d8..9d52546a 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -116,6 +116,14 @@ pub enum Action { FocusWindowDown, /// Focus the window above. FocusWindowUp, + /// Focus the window below or the column to the left. + FocusWindowDownOrColumnLeft, + /// Focus the window below or the column to the right. + FocusWindowDownOrColumnRight, + /// Focus the window above or the column to the left. + FocusWindowUpOrColumnLeft, + /// Focus the window above or the column to the right. + FocusWindowUpOrColumnRight, /// Focus the window or the workspace above. FocusWindowOrWorkspaceDown, /// Focus the window or the workspace above. |
