aboutsummaryrefslogtreecommitdiff
path: root/slate
blob: 356684f466294362c77a4745500c0657d3d62cee (plain)
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
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize

bind r:alt  relaunch

# corners
bind  pad1:alt  corner bottom-left   resize:screenSizeX/2;screenSizeY/2
bind  pad7:alt  corner top-left      resize:screenSizeX/2;screenSizeY/2
bind  pad9:alt  corner top-right     resize:screenSizeX/2;screenSizeY/2
bind  pad3:alt  corner bottom-right  resize:screenSizeX/2;screenSizeY/2

# sides
bind   pad4:alt  push left   bar-resize:screenSizeX/2
bind   left:alt  push left   bar-resize:screenSizeX/2
bind   pad6:alt  push right  bar-resize:screenSizeX/2
bind  right:alt  push right  bar-resize:screenSizeX/2

# fullscreen
bind  pad5:alt  move 0;0 screenSizeX;screenSizeY
bind     0:alt  move 0;0 screenSizeX;screenSizeY

# center
bind  pad2:alt  move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY
bind  down:alt  move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY