Created
June 3, 2016 20:17
-
-
Save GRardB/c992906a11ba01de3e6f5d61dd0feeb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# 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% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment