Skip to content

Instantly share code, notes, and snippets.

@rafd
Created October 22, 2013 01:25
Show Gist options
  • Save rafd/7093799 to your computer and use it in GitHub Desktop.
Save rafd/7093799 to your computer and use it in GitHub Desktop.
config defaultToCurrentScreen true
config secondsBetweenRepeat 0.1
# Shows app icons and background apps, spreads icons in the same place.
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config checkDefaultsOnLoad true
alias monitor-laptop 1
alias monitor-acer 0
alias monitor-dell 2
alias side-top move screenOriginX;screenOriginY screenSizeX;screenSizeY*1/3 ${monitor-dell}
alias side-middle move screenOriginX;screenOriginY+screenSizeY*1/3 screenSizeX;screenSizeY*1/3 ${monitor-dell}
alias side-bottom move screenOriginX;screenOriginY+screenSizeY*2/3 screenSizeX;screenSizeY*1/3 ${monitor-dell}
alias top-full move screenOriginX;screenOriginY screenSizeX;screenSizeY ${monitor-acer}
alias bottom-full move screenOriginX;screenOriginY screenSizeX;screenSizeY ${monitor-laptop}
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
layout 3monitors 'HipChat':MAIN_FIRST ${side-middle}
layout 3monitors 'Terminal':REPEAT ${side-top}
layout 3monitors 'SourceTree':REPEAT ${side-bottom}
layout 3monitors 'Sublime Text':REPEAT ${top-full}
layout 3monitors 'Google Chrome':REPEAT ${bottom-full}
layout 3monitors 'Finder':REPEAT ${bottom-full}
layout 1monitors 'HipChat':MAIN_FIRST ${full}
layout 1monitors 'Terminal':REPEAT ${full}
layout 1monitors 'SourceTree':REPEAT ${full}
layout 1monitors 'Sublime Text':REPEAT ${full}
layout 1monitors 'Google Chrome':REPEAT ${full}
layout 1monitors 'Finder':REPEAT ${full}
default 3monitors resolutions:${monitor-laptop};${monitor-acer};${monitor-dell};
default 3monitors resolutions:${monitor-laptop};
bind 3:cmd layout 3monitors
bind 1:cmd layout 1monitors
bind space:ctrl grid padding:5 ${monitor-laptop}:2,2 ${monitor-acer}:2,2 ${monitor-dell}:1,3
bind e:cmd hint ASDFGHJKLQWERTYUIOPCVBN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment