feat(wm): add per-monitor work area offsets

This commit introduces per-monitor work area offsets which will always
take precedence over global work area offsets.
This commit is contained in:
LGUG2Z
2022-11-12 18:23:22 -08:00
parent a48715f15a
commit b010215318
7 changed files with 93 additions and 5 deletions
+6 -2
View File
@@ -144,8 +144,12 @@ InvisibleBorders(left, top, right, bottom) {
RunWait, komorebic.exe invisible-borders %left% %top% %right% %bottom%, , Hide
}
WorkAreaOffset(left, top, right, bottom) {
RunWait, komorebic.exe work-area-offset %left% %top% %right% %bottom%, , Hide
GlobalWorkAreaOffset(left, top, right, bottom) {
RunWait, komorebic.exe global-work-area-offset %left% %top% %right% %bottom%, , Hide
}
MonitorWorkAreaOffset(monitor, left, top, right, bottom) {
RunWait, komorebic.exe monitor-work-area-offset %monitor% %left% %top% %right% %bottom%, , Hide
}
AdjustContainerPadding(sizing, adjustment) {