Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My Slate config
# ~/.slate
# Aliases
alias top-left screenOriginX+screenSizeX/8;screenOriginY+screenSizeY/8
alias width-height (screenSizeX/8)*6;(screenSizeY/8)*6
# Config
config defaultToCurrentScreen true
config resizePercentOf screenSize
# Push Bindings
bind right:cmd;alt push right bar-resize:screenSizeX/2
bind left:cmd;alt push left bar-resize:screenSizeX/2
bind up:cmd;alt push up bar-resize:screenSizeY/2
bind down:cmd;alt push down bar-resize:screenSizeY/2
# Move Bindings
bind up:ctrl;alt;cmd move screenOriginX;screenOriginY screenSizeX;screenSizeY
bind down:ctrl;alt;cmd move ${top-left} ${width-height}
# Throw Bindings
bind right:ctrl;alt;cmd throw right resize
bind left:ctrl;alt;cmd throw left resize
# Window Hints
bind esc:cmd hint 123456789
# Grid
bind f4 grid padding:5 0:6,2 1:4,2
# Focus
bind f7 focus left
bind f9 focus right
bind f7:shift focus up
bind f9:shift focus down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment