-
Notifications
You must be signed in to change notification settings - Fork 3
/
slate
39 lines (32 loc) · 1.36 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
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
config windowHintsShowIcons true
# Push Bindings
bind right:cmd;ctrl;alt push right bar-resize:screenSizeX/2
bind left:cmd;ctrl;alt push left bar-resize:screenSizeX/2
bind up:cmd;ctrl;alt push up bar-resize:screenSizeY/2
bind down:cmd;ctrl;alt push down bar-resize:screenSizeY/2
bind up:shift;cmd;ctrl;alt push down bar-resize:screenSizeY
bind /:ctrl chain corner top-left resize:screenSizeX/2;screenSizeY/2 | corner top-right resize:screenSizeX/2;screenSizeY/2 | corner bottom-left resize:screenSizeX/2;screenSizeY/2 | corner bottom-right resize:screenSizeX/2;screenSizeY/2
# Resize Bindings
bind right:shift;ctrl resize +10% +0
bind left:shift;ctrl resize -10% +0
bind up:shift;ctrl resize +0 -10%
bind down:shift;ctrl resize +0 +10%
bind right:shift;ctrl;alt resize -10% +0 bottom-right
bind left:shift;ctrl;alt resize +10% +0 bottom-right
bind up:shift;ctrl;alt resize +0 +10% bottom-right
bind down:shift;ctrl;alt resize +0 -10% bottom-right
# Nudge Bindings
bind right:ctrl;alt nudge +6% +0
bind left:ctrl;alt nudge -6% +0
bind up:ctrl;alt nudge +0 -6%
bind down:ctrl;alt nudge +0 +6%
# App Switcher
bind tab:alt switch
# Throw
bind =:ctrl throw next
# Focus
bind [:ctrl focus left
bind ]:ctrl focus right