mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 01:58:51 +02:00
feat(wm): add cmd to focus ws on target monitor
This commit adds a new command which allows the focusing of workspaces on monitors other than the currently focused monitor by specifying a monitor index. Sending this command to komorebi will make the target monitor index the currently focused monitor. resolve #85
This commit is contained in:
@@ -104,6 +104,10 @@ FocusWorkspace(target) {
|
||||
Run, komorebic.exe focus-workspace %target%, , Hide
|
||||
}
|
||||
|
||||
FocusMonitorWorkspace(target_monitor, target_workspace) {
|
||||
Run, komorebic.exe focus-monitor-workspace %target_monitor% %target_workspace%, , Hide
|
||||
}
|
||||
|
||||
CycleMonitor(cycle_direction) {
|
||||
Run, komorebic.exe cycle-monitor %cycle_direction%, , Hide
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user