-
-
Notifications
You must be signed in to change notification settings - Fork 188
User Config Examples
Quinn Ciccoretti edited this page Dec 7, 2022
·
7 revisions
; Hide windows when switching workspaces (faster than playing minimize animation)
WindowHidingBehaviour("hide")
!+1::
MoveToWorkspace(0)
return
!1::
FocusWorkspace(0)
return
; etc
; if things get buggy, often a retile will fix it
!+r::
Retile()
return
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)
}
}