Last active
December 23, 2015 18:49
-
-
Save disusered/6678245 to your computer and use it in GitHub Desktop.
Slate configuration
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 | |
# --------------------------------- | |
config defaultToCurrentScreen true | |
config checkDefaultsOnLoad true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Shows app icons and background apps, spreads icons in the same place. | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsShowIcons true | |
config windowHintsSpread true | |
# --------------------------------- | |
# Alias | |
# --------------------------------- | |
# Position | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX*.66;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX*.342;screenOriginY screenSizeX*.66;screenSizeY | |
alias leftquarter move screenOriginX;screenOriginY screenSizeX*.75;screenSizeY | |
alias rightquarter move screenOriginX+screenSizeX*.25;screenOriginY screenSizeX*.75;screenSizeY | |
# Move to other screen | |
alias down throw next | |
# Grid | |
alias grid grid padding:3 1:4,2 0:5,3 | |
# Hyper key | |
alias hyper ctrl;shift;alt;cmd | |
# --------------------------------- | |
# Layouts | |
# --------------------------------- | |
# Laptop Left | |
layout work 'Sublime Text':REPEAT ${righthalf} 1 | |
layout work 'Google Chrome':REPEAT ${leftquarter} 1 | |
# layout work 'iTerm':REPEAT ${leftquarter} 0 | |
# layout work 'Cornerstone':REPEAT ${rightquarter} 0 | |
# Laptop Right | |
layout home 'Sublime Text':REPEAT ${righthalf} 0 | |
layout home 'Google Chrome':REPEAT ${leftquarter} 0 | |
# layout home 'iTerm':REPEAT ${leftquarter} 1 | |
# layout home 'Cornerstone':REPEAT ${rightquarter} 1 | |
# --------------------------------- | |
# Binds | |
# --------------------------------- | |
# Movement | |
bind up:${hyper} ${full} | |
bind right:${hyper} ${righthalf} | |
bind left:${hyper} ${lefthalf} | |
# Change Screen | |
bind down:${hyper} ${down} | |
# Grid | |
bind g:${hyper} ${grid} | |
# Layouts | |
bind 1:${hyper} layout work | |
bind 2:${hyper} layout home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment