feat(wm): cycle through monitors and workspaces

This commit adds commands to navigate monitors and workspaces using
cycle directions.

resolve #47
This commit is contained in:
LGUG2Z
2021-10-11 13:35:06 -07:00
parent 7ed6df511f
commit ddafe599a2
6 changed files with 74 additions and 1 deletions

View File

@@ -44,6 +44,14 @@ Move(operation_direction) {
Run, komorebic.exe move %operation_direction%, , Hide
}
CycleFocus(cycle_direction) {
Run, komorebic.exe cycle-focus %cycle_direction%, , Hide
}
CycleMove(cycle_direction) {
Run, komorebic.exe cycle-move %cycle_direction%, , Hide
}
Stack(operation_direction) {
Run, komorebic.exe stack %operation_direction%, , Hide
}
@@ -84,6 +92,14 @@ FocusWorkspace(target) {
Run, komorebic.exe focus-workspace %target%, , Hide
}
CycleMonitor(cycle_direction) {
Run, komorebic.exe cycle-monitor %cycle_direction%, , Hide
}
CycleWorkspace(cycle_direction) {
Run, komorebic.exe cycle-workspace %cycle_direction%, , Hide
}
NewWorkspace() {
Run, komorebic.exe new-workspace, , Hide
}