Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (56 sloc) 2.08 KB
# Configs
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config windowHintsFontSize 100
config windowHintsFontColor 0;0;0;1.0
config nudgePercentOf screenSize
config resizePercentOf screenSize
config focusCheckWidthMax 3000
# General aliases
alias sox screenOriginX
alias soy screenOriginY
alias ssx screenSizeX
alias ssy screenSizeY
# Position aliases
alias centered ${sox}+${ssx}/8;${soy}+${ssy}/8 ${ssx}/8*6;${ssy}/8*6
alias fullscreen ${sox};${soy} ${ssx};${ssy}
alias leftHalf ${sox};${soy} ${ssx}/2;${ssy}
alias bottomHalf ${sox};${soy}+${ssy}/2 ${ssx};${ssy}/2
alias topHalf ${sox};${soy} ${ssx};${ssy}/2
alias rightHalf ${sox}+${ssx}/2;${soy} ${ssx}/2;${ssy}
alias topLeftQuarter ${sox};${soy} ${ssx}/2;${ssy}/2
alias topRightQuarter ${sox}+${ssx}/2;${soy} ${ssx}/2;${ssy}/2
alias bottomLeftQuarter ${sox};${soy}+${ssy}/2 ${ssx}/2;${ssy}/2
alias bottomRightQuarter ${sox}+${ssx}/2;${soy}+${ssy}/2 ${ssx}/2;${ssy}/2
# Key Bindings
bind e:cmd hint ASDFGHJKLQWERTYUIOPCVBN
bind g:cmd;shift grid padding:5 0:8,8 1:8,8
# Resize Bindings
# half screens
bind right:cmd;alt;ctrl move ${rightHalf}
bind left:cmd;alt;ctrl move ${leftHalf}
bind up:cmd;alt;ctrl move ${topHalf}
bind down:cmd;alt;ctrl move ${bottomHalf}
# quarter screens
bind right:ctrl;alt;shift move ${bottomRightQuarter}
bind left:ctrl;alt;shift move ${topLeftQuarter}
bind up:ctrl;alt;shift move ${topRightQuarter}
bind down:ctrl;alt;shift move ${bottomLeftQuarter}
# Full screen
bind m:cmd;alt;ctrl move ${fullscreen}
bind c:cmd;alt;ctrl move ${centered}
# next screen
bind right:cmd;alt;ctrl;shift throw next
# previous screen
bind left:cmd;alt;ctrl;shift throw previous
# change windowPos
bind right:cmd;alt;shift nudge +10% +0
bind left:cmd;alt;shift nudge -10% +0
bind up:cmd;alt;shift nudge +0 -10%
bind down:cmd;alt;shift nudge +0 +10%
# change windowSize
bind right:cmd;ctrl;shift resize +10% +0
bind left:cmd;ctrl;shift resize -10% +0
bind up:cmd;ctrl;shift resize +0 -10%
bind down:cmd;ctrl;shift resize +0 +10%