-
Notifications
You must be signed in to change notification settings - Fork 0
/
.slate
80 lines (55 loc) · 2.32 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
config defaultToCurrentScreen true
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config windowHintsShowIcons true
# 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 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
alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2
alias rightLot move screenOriginX+(screenSizeX/9*4);screenOriginY (screenSizeX/9*5);screenSizeY
alias rightMost move screenOriginX+(screenSizeX/9*3)-50;screenOriginY (screenSizeX/9*6)+50;screenSizeY
alias rightLess move screenOriginX+(screenSizeX/9*5);screenOriginY (screenSizeX/9*4);screenSizeY
alias leftLess move screenOriginX;screenOriginY (screenSizeX/9*4);screenSizeY
alias leftLot move screenOriginX;screenOriginY (screenSizeX/9*5);screenSizeY
alias hyper ctrl;alt;cmd;shift
# Hyper+G brings up grid (for each monitor)
bind g:${hyper} grid padding:5 0:8,8 1:8,5
# To Resize windows
bind 1:${hyper} ${lefthalf}
bind 2:${hyper} ${righthalf}
bind 3:${hyper} ${topleft}
bind 4:${hyper} ${topright}
bind 5:${hyper} ${bottomleft}
bind 6:${hyper} ${bottomright}
bind 7:${hyper} ${tophalf}
bind 8:${hyper} ${bottomhalf}
bind q:${hyper} ${leftLess}
bind a:${hyper} ${leftLot}
bind w:${hyper} ${rightLot}
bind e:${hyper} ${rightMost}
bind r:${hyper} ${rightLess}
bind f:${hyper} ${full}
# Focus Bindings
bind right:${hyper} focus right
bind left:${hyper} focus left
bind up:${hyper} focus up
bind down:${hyper} focus down
bind l:${hyper} focus right
bind h:${hyper} focus left
bind k:${hyper} focus up
bind j:${hyper} focus down
bind b:${hyper} focus behind
# Other bindings
bind ;:${hyper} relaunch
bind u:${hyper} undo
# Screen bindings
bind n:${hyper} throw left
bind m:${hyper} throw right
#bind i:${hyper} hint afqrplzvm