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>
This commit is contained in:
Filipe Paniguel
2024-06-28 11:44:24 -03:00
committed by GitHub
parent d180e60e05
commit bdf9894020
4 changed files with 95 additions and 0 deletions
+4
View File
@@ -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.