Implement focus-monitor to focus a specific monitor by output.

This commit is contained in:
Annika Hannig
2025-02-20 20:25:43 +01:00
committed by Ivan Molodetskikh
parent 47dd338340
commit 993c5ce8af
3 changed files with 36 additions and 0 deletions
+6
View File
@@ -457,6 +457,12 @@ pub enum Action {
FocusMonitorPrevious {},
/// Focus the next monitor.
FocusMonitorNext {},
/// Focus a monitor by name.
FocusMonitor {
/// Name of the output to focus.
#[cfg_attr(feature = "clap", arg())]
output: String,
},
/// Move the focused window to the monitor to the left.
MoveWindowToMonitorLeft {},
/// Move the focused window to the monitor to the right.