forked from alswl/.oOo.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.slate
76 lines (64 loc) · 3.12 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Alias
alias mouse_left shell path:~/ '/usr/local/bin/cliclick m:640,400 && /Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh'
alias mouse_right shell path:~/ '/usr/local/bin/cliclick m:1920,400 && /Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh'
alias mouse_iTerm shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh iTerm'
alias mouse_Firefox shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh Firefox'
alias mouse_Google_Chrome shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh Google_Chrome'
alias mouse_QQ shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh QQ'
alias mouse_MacVim shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh MacVim'
alias mouse_Sparrow shell path:~/ '/Users/alswl/dev/myproject/.oOo./local/bin/mouse_restore.sh Sparrow'
# Resize Bindings
#bind right:alt resize +10% +0
#bind left:alt resize -10% +0
#bind up:alt resize +0 -10%
#bind down:alt resize +0 +10%
#bind right:ctrl;alt resize -10% +0 bottom-right
#bind left:ctrl;alt resize +10% +0 bottom-right
#bind up:ctrl;alt resize +0 +10% bottom-right
#bind down:ctrl;alt resize +0 -10% bottom-right
# Push Bindings
#bind right:ctrl;cmd push right bar-resize:screenSizeX/3
#bind left:ctrl;cmd push left bar-resize:screenSizeX/3
#bind up:ctrl;cmd push up bar-resize:screenSizeY/2
#bind down:ctrl;cmd push down bar-resize:screenSizeY/2
# Nudge Bindings
#bind right:shift;alt nudge +10% +0
#bind left:shift;alt nudge -10% +0
#bind up:shift;alt nudge +0 -10%
#bind down:shift;alt nudge +0 +10%
# 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
# Focus Bindings
bind `:alt sequence ${mouse_iTerm} > focus 'iTerm'
bind 1:alt sequence ${mouse_Firefox} > focus 'Firefox'
bind 2:alt sequence ${mouse_Google_Chrome} > focus 'Google Chrome'
bind 3:alt sequence ${mouse_QQ} > focus 'QQ'
bind a:alt sequence ${mouse_MacVim} > focus 'MacVim'
bind s:alt sequence ${mouse_Sparrow} > focus 'IntelliJ IDEA'
bind h:alt sequence ${mouse_left} > focus left
bind l:alt sequence ${mouse_right} > focus right
#bind up:cmd focus up
#bind down:cmd focus down
bind k:alt focus behind
bind j:alt focus behind
# Move Bindings
#bind h:alt;shift sequence ${mouse_left} > focus left > throw 0 resize
#bind l:alt;shift sequence ${mouse_right} > focus right > throw 1 resize
bind h:alt;shift sequence ${mouse_left} > focus left > throw 0
bind l:alt;shift sequence ${mouse_right} > focus right > throw 1
# Window Hints
#bind esc:cmd hint
# Toogle Application
#bind `:alt toggle 'iTerm'
#bind tab:cmd switch