mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 01:28:39 +02:00
feat(config): add work-area-offset per workspace
This commit adds the option to set 'work_area_offset' per workspace. If no workspace work area offset is set for that workspace it will instead use the value of the globals.work_area_offset for that workspace. This commit adds a command to set the work area offset of a workspace given a monitor index and a workspace index.
This commit is contained in:
@@ -184,6 +184,10 @@ MonitorWorkAreaOffset(monitor, left, top, right, bottom) {
|
||||
RunWait("komorebic.exe monitor-work-area-offset " monitor " " left " " top " " right " " bottom, , "Hide")
|
||||
}
|
||||
|
||||
WorkspaceWorkAreaOffset(monitor, workspace, left, top, right, bottom) {
|
||||
RunWait("komorebic.exe workspace-work-area-offset " monitor " "workspace" " left " " top " " right " " bottom, , "Hide")
|
||||
}
|
||||
|
||||
AdjustContainerPadding(sizing, adjustment) {
|
||||
RunWait("komorebic.exe adjust-container-padding " sizing " " adjustment, , "Hide")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user