-
Notifications
You must be signed in to change notification settings - Fork 0
/
.slate
28 lines (23 loc) · 1.06 KB
/
.slate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Aliases
alias third screenSizeX/3;screenSizeY
alias twoThird 2*screenSizeX/3;screenSizeY
alias hyper cmd;ctrl;alt
# Resize thirds
bind j:${hyper} move screenOriginX;screenOriginY ${third}
bind k:${hyper} move screenOriginX+screenSizeX/3;screenOriginY ${third}
bind l:${hyper} move screenOriginX+2*screenSizeX/3;screenOriginY ${third}
bind u:${hyper} move screenOriginX;screenOriginY ${twoThird}
bind o:${hyper} move screenOriginX+screenSizeX/3;screenOriginY ${twoThird}
bind space:${hyper} corner top-left resize:screenSizeX;screenSizeY
# Resize halves
bind [:${hyper} move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
bind ]:${hyper} move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
# Throw
bind right:${hyper} throw right resize
bind left:${hyper} throw left resize
bind up:${hyper} throw up resize
bind down:${hyper} throw down resize
bind s:${hyper} relaunch