-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathslate
More file actions
60 lines (48 loc) · 1.88 KB
/
slate
File metadata and controls
60 lines (48 loc) · 1.88 KB
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
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 e:cmd hint ASDFGHJKLQWERTYUIOPCVBN # use whatever keys you want
# Push Bindings
bind right:ctrl;cmd push right bar-resize:screenSizeX/2
bind left:ctrl;cmd push left bar-resize:screenSizeX/2
bind up:ctrl;cmd push up bar-resize:screenSizeY/2
bind down:ctrl;cmd push down bar-resize:screenSizeY/2
bind l:ctrl;cmd push right bar-resize:screenSizeX/2
bind j:ctrl;cmd push left bar-resize:screenSizeX/2
bind i:ctrl;cmd push up bar-resize:screenSizeY/2
bind ,:ctrl;cmd push down bar-resize:screenSizeY/2
# Screen movement
# Corner Bindings
bind o:ctrl;cmd corner top-right resize:screenSizeX/2;screenSizeY/2
bind .:ctrl;cmd corner bottom-right resize:screenSizeX/2;screenSizeY/2
bind m:ctrl;cmd corner bottom-left resize:screenSizeX/2;screenSizeY/2
bind u:ctrl;cmd corner top-left resize:screenSizeX/2;screenSizeY/2
#Full Screen
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
bind k:ctrl;cmd ${full}
# Throw Bindings
bind 1:ctrl;alt throw 0 resize
bind 2:ctrl;alt throw 1 resize
bind 3:ctrl;alt throw 2 resize
bind right:ctrl;alt;cmd throw right resize
bind left:ctrl;alt;cmd throw left resize
bind up:ctrl;alt;cmd throw up resize
bind down:ctrl;alt;cmd throw down resize
bind up:cmd;alt focus behind
bind down:cmd;alt focus behind
# App Switching
bind c:cmd;ctrl focus 'Google Chrome'
bind f:cmd;ctrl focus 'Firefox'
bind s:cmd;ctrl focus 'Spotify'
bind h:cmd;ctrl focus 'Hipchat'
bind t:cmd;ctrl focus 'Sublime Text 2'
bind x:cmd;ctrl focus 'Xcode'
bind e:cmd;ctrl focus 'Eclipse'
bind p:cmd;ctrl focus 'Skype'
bind `:cmd;ctrl focus 'Terminal'
# Snapshot
bind s:ctrl;alt;cmd snapshot theSnapshot save-to-disk;stack
bind a:ctrl;alt;cmd activate-snapshot theSnapshot