Source

dotfiles / slate

config defaultToCurrentScreen true

alias hyper ctrl;shift;alt;cmd

alias full      move screenOriginX;screenOriginY               screenSizeX;screenSizeY
alias lefthalf  move screenOriginX;screenOriginY               screenSizeX/2;screenSizeY
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY

alias thirdleft  move screenOriginX;screenOriginY                 screenSizeX/3;screenSizeY
alias thirdmid   move screenOriginX+screenSizeX/3;screenOriginY   screenSizeX/3;screenSizeY
alias thirdright move screenOriginX+2*screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY

alias bigleft  move screenOriginX;screenOriginY               2*screenSizeX/3;screenSizeY
alias bigmid   move screenOriginX+screenSizeX/6;screenOriginY 2*screenSizeX/3;screenSizeY
alias bigright move screenOriginX+screenSizeX/3;screenOriginY 2*screenSizeX/3;screenSizeY

bind pad1:${hyper} ${bigleft}
bind pad2:${hyper} ${bigmid}
bind pad3:${hyper} ${bigright}
bind pad4:${hyper} ${lefthalf}
bind pad5:${hyper} ${full}
bind pad6:${hyper} ${righthalf}
bind pad7:${hyper} ${thirdleft}
bind pad8:${hyper} ${thirdmid}
bind pad9:${hyper} ${thirdright}

bind ;:${hyper}      throw next
bind delete:${hyper} relaunch