Created
November 13, 2014 03:00
-
-
Save gibbage/216a899e4f938c17e9d2 to your computer and use it in GitHub Desktop.
Slate config of OSX
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
# Settings | |
config defaultToCurrentScreen true | |
# Shows app icons and background apps, spreads icons in the same place. | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsSpread true | |
# Abstract positions | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2 | |
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2 | |
# Resize Bindings | |
bind right:ctrl;alt;cmd resize +10% +0 | |
bind left:ctrl;alt;cmd resize -10% +0 | |
bind up:ctrl;alt;cmd resize +0 -10% | |
bind down:ctrl;alt;cmd resize +0 +10% | |
# Nudge Bindings | |
bind l:ctrl;alt;cmd nudge +10% +0 | |
bind j:ctrl;alt;cmd nudge -10% +0 | |
bind i:ctrl;alt;cmd nudge +0 -10% | |
bind k:ctrl;alt;cmd nudge +0 +10% | |
# Location Bindings | |
bind m:ctrl;alt;cmd sequence throw 0 > ${full} | sequence throw 1 > ${full} | |
bind 9:ctrl;alt;cmd ${lefthalf} | |
bind 0:ctrl;alt;cmd ${righthalf} | |
bind -:ctrl;alt;cmd ${tophalf} | |
bind =:ctrl;alt;cmd ${bottomhalf} | |
# Switch to display and resize | |
bind [:ctrl;alt;cmd throw 0 resize | |
bind ]:ctrl;alt;cmd throw 1 resize | |
# Show the window switcher | |
bind e:ctrl;alt;cmd hint ASDFGHJKLQWERTYUIOPCVBN | |
# Display Grid | |
bind g:ctrl;alt;cmd grid padding:5 0:6,6 1:6,6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment