dotfiles

ref: 112eae89312e9ce9e55806d609f55efd3bac01f0

osx/slate


config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config checkDefaultsOnLoad true

# Default to the current screen if the screen the reference does not exist.
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize

alias hyper ctrl;shift;alt;cmd

alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
alias leftthird move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
alias rightthird move screenOriginX+screenSizeX/3+screenSizeX/3;screenOriginY screenSizeX/3; screenSizeY
alias middlethird move screenOriginX+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2
alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2

bind return:shift;cmd ${full}
bind h:${hyper} ${lefthalf}
bind l:${hyper} ${righthalf}

alias 1-full move screenOriginX;screenOriginY screenSizeX;screenSizeY        0

layout small-monitor 'Google Chrome':REPEAT ${1-full}
layout small-monitor 'Skype':REPEAT ${1-full}
layout small-monitor 'Slack':REPEAT ${1-full}
layout small-monitor 'Twitter':REPEAT ${righthalf}

default small-monitor count:1

alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2

bind e:cmd hint ASDFGHJKLQWERTYUIOPCVBN # use whatever keys you want

bind i:${hyper} focus 'iTerm'
bind b:${hyper} focus 'Google Chrome'
bind k:${hyper} focus 'Skype'