Created
June 12, 2014 00:09
-
-
Save ashmckenzie/271d3e1a5446c509f4aa to your computer and use it in GitHub Desktop.
My ~/.slate file
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
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidthMax 3000 | |
config windowHintsIconAlpha 0.3 | |
config windowHintsFontColor 255;255;255;1 | |
config windowHintsBackgroundColor 0;0;0;0.3 | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsDuration 5 | |
config windowHintsSpread true | |
alias laptop 0 | |
alias external 1 | |
alias cols 12 | |
alias rows 12 | |
alias terminal 'iTerm' | |
alias browser 'Google Chrome' | |
alias editor 'Sublime Text' | |
alias email 'Airmail' | |
alias flowdock 'Flowdock' | |
alias source_tree 'SourceTree' | |
alias dash 'Dash' | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias middle move screenOriginX+screenSizeX/${cols};screenOriginY+screenSizeY/${cols} (screenSizeX/${cols})*(${cols}-2);(screenSizeY/${rows})*(${rows}-2) | |
alias left move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias right move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
alias laptop-full move screenOriginX;screenOriginY screenSizeX;screenSizeY ${laptop} | |
alias laptop-middle move screenOriginX+screenSizeX/${cols};screenOriginY+screenSizeY/${cols} (screenSizeX/${cols})*(${cols}-2);(screenSizeY/${rows})*(${rows}-2) ${laptop} | |
alias laptop-left move screenOriginX;screenOriginY screenSizeX/2;screenSizeY ${laptop} | |
alias laptop-right move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY ${laptop} | |
alias external-full move screenOriginX;screenOriginY screenSizeX;screenSizeY ${external} | |
alias external-middle move screenOriginX+screenSizeX/${cols};screenOriginY+screenSizeY/${cols} (screenSizeX/${cols})*(${cols}-2);(screenSizeY/${rows})*(${rows}-2) ${external} | |
alias external-left move screenOriginX;screenOriginY screenSizeX/2;screenSizeY ${external} | |
alias external-right move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY ${external} | |
layout work ${terminal}:REPEAT ${external-left} | |
layout work ${editor}:REPEAT ${external-right} | |
layout work ${source_tree}:REPEAT ${external-right} | |
layout work ${browser}:REPEAT ${external-middle} | |
layout work ${dash}:REPEAT ${external-middle} | |
layout work ${email}:REPEAT ${laptop-full} | |
layout work ${flowdock}:REPEAT ${laptop-full} | |
layout imac-cinema-display ${terminal}:REPEAT ${external-left} | |
layout imac-cinema-display ${email}:REPEAT ${external-left} | |
layout imac-cinema-display ${browser}:REPEAT ${external-middle} | |
layout imac-cinema-display ${dash}:REPEAT ${external-middle} | |
layout imac-cinema-display ${editor}:REPEAT ${external-right} | |
layout imac-cinema-display ${flowdock}:REPEAT ${external-right} | |
layout imac-cinema-display ${source_tree}:REPEAT ${external-right} | |
layout laptop-display ${terminal}:REPEAT ${full} | |
layout laptop-display ${editor}:REPEAT ${full} | |
layout laptop-display ${browser}:REPEAT ${full} | |
layout laptop-display ${email}:REPEAT ${full} | |
layout laptop-display ${flowdock}:REPEAT ${full} | |
layout laptop-display ${source_tree}:REPEAT ${full} | |
layout laptop-display ${dash}:REPEAT ${full} | |
default work resolutions:1280x800;2560x1440 | |
default home resolutions:1440x900;2560x1440 | |
default imac-cinema-display resolutions:2560x1440 | |
default laptop-display resolutions:1440x900 | |
alias hyper ctrl;shift;alt;cmd | |
bind up:${hyper} ${full} | |
bind down:${hyper} ${middle} | |
bind left:${hyper} ${left} | |
bind right:${hyper} ${right} | |
bind b:${hyper} focus ${browser} | |
bind e:${hyper} focus ${editor} | |
bind t:${hyper} focus ${terminal} | |
bind m:${hyper} focus ${email} | |
bind f:${hyper} focus ${flowdock} | |
bind return:${hyper} hint | |
bind backslash:${hyper} relaunch | |
# bind padEnter:${hyper} grid padding:5 1440x900:${cols},${rows} | |
# bind return:${hyper} grid padding:5 1440x900:${cols},${rows} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment