Add focus-window-previous action (#811)

* Add `FocusWindowPrevious` action

* remove [`

* track previous focus in Niri instead of every window

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
Ridan Vandenbergh
2024-11-21 12:48:51 +01:00
committed by GitHub
parent 7de752ec56
commit a74a578198
4 changed files with 58 additions and 16 deletions
+2
View File
@@ -204,6 +204,8 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Focus the previously focused window.
FocusWindowPrevious {},
/// Focus the column to the left.
FocusColumnLeft {},
/// Focus the column to the right.