-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.slate
38 lines (30 loc) · 1.52 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
29
30
31
32
33
34
35
36
37
# from http://thume.ca/howto/2012/11/19/using-slate/
# general config
config defaultToCurrentScreen true
# Shows app icons and background apps, spreads icons in the same place.
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
# window hints
bind g:cmd hint ASDFGHJKLQWERTYUIOPCVBN
# window grid
#bind e:cmd grid padding:5 0:2,2 1:2,2
# abstract positions
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 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
alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2
alias prev_screen move screenOriginX;screenOriginY windowSizeX;windowSizeY prev
alias next_screen move screenOriginX;screenOriginY windowSizeX;windowSizeY next
alias leftspec move screenOriginX;screenOriginY screenSizeX*1/2;screenSizeY
alias rightspec move screenOriginX+screenSizeX*1/2;screenOriginY screenSizeX*1/2;screenSizeY
alias topspec move screenOriginX;screenOriginY screenSizeX;screenSizeY*1/2
alias bottomspec move screenOriginX;screenOriginY+screenSizeY*1/2 screenSizeX;screenSizeY*1/2
bind up:shift,cmd ${full}
bind left:cmd ${leftspec}
bind right:cmd ${rightspec}
bind up:cmd ${topspec}
bind down:cmd ${bottomspec}