diff options
| author | Filipe Paniguel <paniguel.lpnh@gmail.com> | 2024-06-28 11:44:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 07:44:24 -0700 |
| commit | bdf9894020f184643ac98fbbc74402689edfe3f4 (patch) | |
| tree | 1829fac0d2d224e161c6faa78db3f3163dcd3836 /niri-ipc | |
| parent | d180e60e0584e0c43682d7aca612c366f881dd85 (diff) | |
| download | niri-bdf9894020f184643ac98fbbc74402689edfe3f4.tar.gz niri-bdf9894020f184643ac98fbbc74402689edfe3f4.tar.bz2 niri-bdf9894020f184643ac98fbbc74402689edfe3f4.zip | |
feat: add `focus-column-or-monitor-left`, `focus-column-or-monitor-right` (#456)
* feat: add support for focus-window-or-monitor
* addresses output without window case
* refactor: reduce verbosity
* update this..
* refactor: rename `maybe_focus_window` functions
* refactor: flip focus_window_or_output return logic
* Update src/layout/mod.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* refactor: rename to Column
* move blocks next to other Column variables
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'niri-ipc')
| -rw-r--r-- | niri-ipc/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 72e050e4..4db883e5 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -120,6 +120,10 @@ pub enum Action { FocusColumnRightOrFirst, /// Focus the next column to the left, looping if at start. FocusColumnLeftOrLast, + /// Focus the column or the monitor to the left. + FocusColumnOrMonitorLeft, + /// Focus the column or the monitor to the right. + FocusColumnOrMonitorRight, /// Focus the window below. FocusWindowDown, /// Focus the window above. |
