Created
October 11, 2012 19:21
-
-
Save purcell/3874862 to your computer and use it in GitHub Desktop.
Sample Slate config (see https://github.com/jigish/slate/issues/130)
This file contains 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
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config focusPreferSameApp false | |
config focusCheckWidthMax 3000 | |
config checkDefaultsOnLoad true | |
alias air 1440x900 | |
alias dell 2560x1440 | |
alias top-half move screenOriginX;screenOriginY screenSizeX;screenSizeY/2 | |
alias bottom-half move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2 | |
alias left-half move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias right-half move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
alias top-left move screenOriginX;screenOriginY screenSizeX/2;screenSizeY/2 | |
alias top-right move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY/2 | |
alias bottom-left move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX/2;screenSizeY/2 | |
alias bottom-right move screenOriginX+screenSizeX/2;screenOriginY+screenSizeY/2 screenSizeX/2;screenSizeY/2 | |
alias maximized move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
layout 2monitors 'Emacs' ${left-half} ${dell} | |
layout 2monitors 'Google Chrome':REPEAT ${right-half} ${dell} | |
layout 2monitors 'Mail' ${maximized} ${air} | |
layout 2monitors 'iTerm' ${top-right} ${dell} | ${bottom-right} ${dell} | ${bottom-left} ${dell} | ${top-left} ${dell} | |
layout 2monitors 'iTunes' ${maximized} ${air} | |
layout 2monitors 'Echofon' throw ${air} | |
layout 1monitor 'Emacs' ${maximized} | |
layout 1monitor 'Google Chrome':REPEAT ${maximized} | |
layout 1monitor 'iTerm' ${top-right} | ${bottom-right} | ${bottom-left} | ${top-left} | |
default 2monitors resolutions:${air};${dell} | |
default 1monitor resolutions:${air} | |
# Positioning | |
bind w:ctrl;alt;cmd ${top-half} | |
bind x:ctrl;alt;cmd ${bottom-half} | |
bind a:ctrl;alt;cmd ${left-half} | |
bind d:ctrl;alt;cmd ${right-half} | |
bind q:ctrl;alt;cmd ${top-left} | |
bind e:ctrl;alt;cmd ${top-right} | |
bind z:ctrl;alt;cmd ${bottom-left} | |
bind c:ctrl;alt;cmd ${bottom-right} | |
bind s:ctrl;alt;cmd ${maximized} | |
# Move between screens | |
bind /:ctrl;alt;cmd throw next | |
# Focus Bindings | |
bind right:alt;cmd focus right | |
bind left:alt;cmd focus left | |
bind up:alt;cmd focus up | |
bind down:alt;cmd focus down | |
bind down:ctrl;alt;cmd focus behind | |
# Window Hints | |
bind esc:cmd hint ASDFGHJKL | |
#bind tab:cmd switch | |
#bind tab:shift;cmd switch | |
#bind g:ctrl;alt;cmd grid padding:5 0:screenSizeX/8,screenSizeY/8 1:screenSizeX/8,screenSizeY/8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment