mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-20 03:51:16 +02:00
Updated User Config Examples (markdown)
+19
-1
@@ -21,4 +21,22 @@ Retile()
|
|||||||
return
|
return
|
||||||
```
|
```
|
||||||
|
|
||||||
[Full Config](https://gist.github.com/QuinnCiccoretti/d22230303ad08f6247dfce48d46d9914)
|
[Full Config](https://gist.github.com/QuinnCiccoretti/d22230303ad08f6247dfce48d46d9914)
|
||||||
|
|
||||||
|
## Configure multiple monitors/workspaces with a loop
|
||||||
|
```ahk
|
||||||
|
Loop 2 {
|
||||||
|
Monitor := A_INDEX-1
|
||||||
|
; autohotkey loop scope is weird!
|
||||||
|
; if i save A_INDEX-1 in the outer loop,
|
||||||
|
; i can access this value in the inner loop with "monitor"
|
||||||
|
; and the inner loop has its own unrelated A_INDEX
|
||||||
|
EnsureWorkspaces(Monitor, 5)
|
||||||
|
Loop 6 {
|
||||||
|
;no padding on any monitor/workspace
|
||||||
|
Workspace := A_INDEX-1
|
||||||
|
ContainerPadding(Monitor, Workspace, 0)
|
||||||
|
WorkspacePadding(Monitor, Workspace, 0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user