mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add focus-window-top/bottom/down-or-top/up-or-bottom actions
This commit is contained in:
@@ -493,6 +493,22 @@ impl<W: LayoutElement> Monitor<W> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn focus_window_top(&mut self) {
|
||||
self.active_workspace().focus_window_top();
|
||||
}
|
||||
|
||||
pub fn focus_window_bottom(&mut self) {
|
||||
self.active_workspace().focus_window_bottom();
|
||||
}
|
||||
|
||||
pub fn focus_window_down_or_top(&mut self) {
|
||||
self.active_workspace().focus_window_down_or_top();
|
||||
}
|
||||
|
||||
pub fn focus_window_up_or_bottom(&mut self) {
|
||||
self.active_workspace().focus_window_up_or_bottom();
|
||||
}
|
||||
|
||||
pub fn move_to_workspace_up(&mut self) {
|
||||
let source_workspace_idx = self.active_workspace_idx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user