Skip to content

Instantly share code, notes, and snippets.

@sandro
Last active October 7, 2015 10:37
Show Gist options
  • Save sandro/3151916 to your computer and use it in GitHub Desktop.
Save sandro/3151916 to your computer and use it in GitHub Desktop.
My slate config
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
bind g:ctrl;shift grid padding:5 0:4,2 1:6,2
# Resize Bindings
bind right:alt;ctrl resize +10% +0
bind left:alt;ctrl resize -10% +0
bind up:alt;ctrl resize +0 -10%
bind down:alt;ctrl resize +0 +10%
# bind right:ctrl;alt resize -10% +0 bottom-right
# bind left:ctrl;alt resize +10% +0 bottom-right
# bind up:ctrl;alt resize +0 +10% bottom-right
# bind down:ctrl;alt resize +0 -10% bottom-right
# Push Bindings
bind right:ctrl;cmd;alt push right bar-resize:screenSizeX*0.62
bind left:ctrl;cmd;alt push left bar-resize:screenSizeX*0.38
bind up:ctrl;cmd;alt push up bar-resize:screenSizeY*0.60
bind down:ctrl;cmd;alt push down bar-resize:screenSizeY*0.40
bind c:ctrl;cmd;alt move (screenOriginX+screenSizeX*0.15);screenOriginY screenSizeX*0.70;screenSizeY
bind m:ctrl;cmd;alt push up bar-resize:screenSizeX
# Nudge Bindings
bind right:shift;ctrl nudge +10% +0
bind left:shift;ctrl nudge -10% +0
bind up:shift;ctrl nudge +0 -10%
bind down:shift;ctrl nudge +0 +10%
# layout specjour 'Firefox' move 0;0 screenSizeX*0.25;screenSizeY | move screenSizeX*0.25;0 screenSizeX*0.25;screenSizeY | move screenSizeX*0.5;0 screenSizeX*0.25;screenSizeY | move screenSizeX*0.75;0 screenSizeX*0.25;screenSizeY
# bind 1:ctrl layout specjour
# 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
# Focus Bindings
# bind right:cmd focus right
# bind left:cmd focus left
# bind up:cmd focus up
# bind down:cmd focus down
# bind up:cmd;alt focus behind
# bind down:cmd;alt focus behind
# Window Hints
# bind esc:cmd hint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment