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:
LGUG2Z
2021-12-03 09:50:28 -08:00
parent 85fe20ebba
commit 9be248bc03
6 changed files with 32 additions and 2 deletions

View File

@@ -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
}