You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quinn Ciccoretti edited this page Dec 7, 2022
·
7 revisions
User Config Examples
Basic workspace switching
; 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
Configure multiple monitors/workspaces with a loop
Loop2 {
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)
Loop6 {
;no padding on any monitor/workspace
Workspace := A_INDEX-1
ContainerPadding(Monitor, Workspace, 0)
WorkspacePadding(Monitor, Workspace, 0)
}
}