Last active
September 18, 2017 13:51
-
-
Save alexbw/e426d6a843137c1a424b6fe79d79db64 to your computer and use it in GitHub Desktop.
slate config
This file contains hidden or 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 defaultToCurrentScreen false | |
# Shows app icons and background apps, spreads icons in the same place. | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsSpread true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
bind e:cmd;alt hint QWERASDFZXCV # use whatever keys you want | |
alias hyper ctrl;alt;cmd | |
alias turbo alt;cmd | |
# Resize Bindings | |
# bind right:alt resize +10% +0 | |
# bind left:alt resize -10% +0 | |
# bind up:alt resize +0 -10% | |
# bind down:alt 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 | |
# If I have two monitors this is useful | |
# ------------------------------------------------------------------ | |
# bind 1:${hyper} throw 0 resize | |
# bind 2:${hyper} throw 1 resize | |
# bind pad1:${hyper} throw 0 resize | |
# bind pad2:${hyper} throw 1 resize | |
# ------------------------------------------------------------------ | |
bind space:${hyper} corner top-left resize:screenSizeX;screenSizeY | |
bind right:${hyper} push right | |
bind left:${hyper} push left | |
bind up:${hyper} push up | |
bind down:${hyper} push down | |
bind ;:${hyper} throw 0 resize | |
bind l:${hyper} push right bar-resize:screenSizeX/2 | |
bind h:${hyper} push left bar-resize:screenSizeX/2 | |
bind k:${hyper} push up bar-resize:screenSizeY/2 | |
bind j:${hyper} push down bar-resize:screenSizeY/2 | |
# Nudge Bindings | |
bind right:${turbo} nudge +6.25% +0 | |
bind left:${turbo} nudge -6.25% +0 | |
bind up:${turbo} nudge +0 -6.25% | |
bind down:${turbo} nudge +0 +6.25% | |
# Resizy bindy keys | |
bind pad1:${hyper} push left bar-resize:screenSizeX/4 | |
bind pad2:${hyper} move screenSizeX/4;0 screenSizeX/4;screenSizeY | |
bind pad3:${hyper} move screenSizeX/2;0 screenSizeX/4;screenSizeY | |
bind pad4:${hyper} push right bar-resize:screenSizeX/4 | |
bind pad5:${hyper} sequence push left bar-resize:screenSizeX/2 > nudge +25% +0 | |
bind pad7:${hyper} move 0;0 screenSizeX/3;screenSizeY | |
bind pad8:${hyper} move screenSizeX/3;0 screenSizeX/3;screenSizeY | |
bind pad9:${hyper} move 2*screenSizeX/3;0 screenSizeX/3;screenSizeY | |
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:${turbo} focus right | |
# bind left:${turbo} focus left | |
# bind up:${turbo} focus up | |
# bind down:${turbo} focus down | |
# bind l:${turbo} focus right | |
# bind h:${turbo} focus left | |
# bind k:${turbo} focus up | |
# bind j:${turbo} focus down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment