Created
October 24, 2018 12:45
-
-
Save dpaluy/39446a7332e34bc11cbbf303f4fbaeee to your computer and use it in GitHub Desktop.
Slate Config
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
# This is the default .slate file. | |
# If no ~/.slate file exists this is the file that will be used. | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBeforeRepeat 0.4 | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidth 100 | |
config focusCheckWidthMax 500 | |
config focusPreferSameApp true | |
alias hyper ctrl;alt;cmd | |
alias cinema-display 2560x1440 | |
alias retina-display 1440x900 | |
bind r:${hyper} relaunch | |
# use better apps switch | |
#bind tab:cmd switch | |
# Window Hints | |
config windowHintsShowIcons true | |
config windowHintsSpread true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsFontSize 80 | |
config windowHintsFontColor "0;255;0;1.0" | |
config windowHintsRoundedCornerSize 15 | |
bind esc:cmd hint 12qwaszx3edec4rfv | |
bind g:cmd;alt grid padding:5 0:10,5 1:10,5 | |
# resizing | |
bind m:${hyper} move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
bind left:${hyper} corner top-left resize:screenSizeX/2;screenSizeY | |
bind right:${hyper} corner top-right resize:screenSizeX/2;screenSizeY | |
bind up:${hyper} corner top-left resize:screenSizeX;screenSizeY/2 | |
bind down:${hyper} corner bottom-left resize:screenSizeX;screenSizeY/2 | |
bind ;:${hyper} corner top-left resize:screenSizeX/2;screenSizeY/2 | |
bind ':${hyper} corner top-right resize:screenSizeX/2;screenSizeY/2 | |
bind .:${hyper} corner bottom-left resize:screenSizeX/2;screenSizeY/2 | |
bind /:${hyper} corner bottom-right resize:screenSizeX/2;screenSizeY/2 | |
# Resize Bindings | |
bind right:ctrl;alt resize +5% +0 | |
bind left:ctrl;alt resize -5% +0 | |
bind up:ctrl;alt resize +0 -10% | |
bind down:ctrl;alt resize +0 +10% | |
# Push Bindings | |
#bind right:ctrl;cmd push right bar-resize:screenSizeX/3 | |
#bind left:ctrl;cmd push left bar-resize:screenSizeX/3 | |
#bind up:ctrl;cmd push up bar-resize:screenSizeY/2 | |
#bind down:ctrl;cmd push down bar-resize:screenSizeY/2 | |
# Nudge Bindings | |
bind right:shift;alt;cmd nudge +5% +0 | |
bind left:shift;alt;cmd nudge -5% +0 | |
bind up:shift;alt;cmd nudge +0 -10% | |
bind down:shift;alt;cmd nudge +0 +10% | |
# Focus Bindings | |
bind right:ctrl;cmd focus right | |
bind left:ctrl;cmd focus left | |
bind up:ctrl;cmd focus up | |
bind down:ctrl;cmd focus down | |
bind up:cmd;ctrl;cmd focus behind | |
bind down:cmd;ctrl;cmd focus behind | |
# Throw Bindings | |
#bind 1:ctrl;alt throw 0 resize | |
#bind 2:ctrl;alt throw 1 resize | |
#bind 3:ctrl;alt throw 2 resize | |
#bind right:ctrl;alt;cmd throw right resize | |
#bind left:ctrl;alt;cmd throw left resize | |
#bind up:ctrl;alt;cmd throw up resize | |
#bind down:ctrl;alt;cmd throw down resize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment