-
Notifications
You must be signed in to change notification settings - Fork 1
/
.slate
26 lines (22 loc) · 1.08 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
CurrentScreen true
config modalEscapeKey esc
alias middle-width min({screenSizeX*0.8,2550*0.6})
alias middle-height min({screenSizeY*0.8,1440*0.6})
alias middle-left screenOriginX+(screenSizeX-${middle-width})/2
alias middle-top screenOriginY+(screenSizeY-${middle-height})/3
alias recenter move screenOriginX+(screenSizeX-windowSizeX)/2;screenOriginY+(screenSizeY-windowSizeY)/3 windowSizeX;windowSizeY
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias left move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
alias right move screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
alias center move ${middle-left};screenOriginY ${middle-width};screenSizeY
alias middle move ${middle-left};${middle-top} ${middle-width};${middle-height}
alias trigger cmd;shift;space
bind tab:${trigger} ${recenter}
bind space:${trigger} ${full}
bind left:${trigger} ${left}
bind right:${trigger} ${right}
bind c:${trigger} ${center}
bind m:${trigger} ${middle}
bind g:${trigger} grid
bind r:${trigger} relaunch
bind return:${trigger} undo