-
Notifications
You must be signed in to change notification settings - Fork 5
/
.slate
48 lines (41 loc) · 1.53 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
###############
### Configs ###
###############
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
###############
### Aliases ###
###############
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 hyper ctrl,alt,cmd
alias special ctrl,cmd
alias special2 ctrl,alt
################
### Bindings ###
################
bind return:${hyper} ${full}
bind f:${hyper} ${full}
bind left:${hyper} ${lefthalf}
bind right:${hyper} ${righthalf}
bind up:${hyper} ${tophalf}
bind down:${hyper} ${bottomhalf}
bind right:${special} resize +10% +0
bind left:${special} resize -10% +0
bind up:${special} resize +0 -10%
bind down:${special} resize +0 +10%
bind up:${special2} ${topleft}
bind left:${special2} ${bottomleft}
bind right:${special2} ${topright}
bind down:${special2} ${bottomright}
bind b:${hyper} focus 'Google Chrome'
bind 1:${special} throw 0 resize
bind 2:${special} throw 1 resize