-
Notifications
You must be signed in to change notification settings - Fork 78
/
slate
81 lines (66 loc) · 2.69 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
77
78
79
80
#bind tab:cmd switch
alias showNormalHint hint AOEUIDHTNSYXFBPKGMCW
alias showHintsLeftHand hint AOEUIYQJKX
bind e:cmd;alt;ctrl;shift ${showHintsLeftHand}
#bind n:cmd;alt;ctrl;shift ${showNormalHint}
#bind tab:cmd;alt switch
#bind right:ctrl;alt nudge +10% +0
#bind left:ctrl;alt nudge -10% +0
#bind up:ctrl;alt nudge +0 -10%
#bind down:ctrl;alt nudge +0 +10%
bind right:cmd;alt;ctrl;shift push right bar-resize:screenSizeX/2
bind left:cmd;alt;ctrl;shift push left bar-resize:screenSizeX/2
bind up:cmd;alt;ctrl;shift push up bar-resize:screenSizeY/2
bind down:cmd;alt;ctrl;shift push down bar-resize:screenSizeY/2
#bind right:ctrl resize +10% +0
#bind left:ctrl resize -10% +0
#bind up:ctrl resize +0 -10%
#bind down:ctrl resize +0 +10%
#bind right:alt resize -10% +0 bottom-right
#bind left:alt resize +10% +0 bottom-right
#bind up:alt resize +0 +10% bottom-right
#bind down:alt resize +0 -10% bottom-right
#bind right:cmd focus right
#bind left:cmd focus left
#bind up:cmd focus up
#bind down:cmd focus down
#bind up:cmd;alt focus behind
#bind down:cmd;alt focus behind
# General aliases
alias sox screenOriginX
alias soy screenOriginY
alias ssx screenSizeX
alias ssy screenSizeY
# Position aliases
alias centered ${sox}+${ssx}/8;${soy}+${ssy}/8 ${ssx}/8*6;${ssy}/8*6
alias fullscreen ${sox};${soy} ${ssx};${ssy}
alias leftHalf ${sox};${soy} ${ssx}/2;${ssy}
alias bottomHalf ${sox};${soy}+${ssy}/2 ${ssx};${ssy}/2
alias topHalf ${sox};${soy} ${ssx};${ssy}/2
alias rightHalf ${sox}+${ssx}/2;${soy} ${ssx}/2;${ssy}
alias topLeftQuarter ${sox};${soy} ${ssx}/2;${ssy}/2
alias topRightQuarter ${sox}+${ssx}/2;${soy} ${ssx}/2;${ssy}/2
alias bottomLeftQuarter ${sox};${soy}+${ssy}/2 ${ssx}/2;${ssy}/2
alias bottomRightQuarter ${sox}+${ssx}/2;${soy}+${ssy}/2 ${ssx}/2;${ssy}/2
bind g:cmd;alt;ctrl;shift move ${centered}
bind o:cmd;alt;ctrl;shift move ${fullscreen}
bind h:cmd;alt;ctrl;shift move ${leftHalf}
bind j:cmd;alt;ctrl;shift move ${bottomHalf}
bind k:cmd;alt;ctrl;shift move ${topHalf}
bind l:cmd;alt;ctrl;shift move ${rightHalf}
bind u:cmd;alt;ctrl;shift move ${topLeftQuarter}
bind i:cmd;alt;ctrl;shift move ${topRightQuarter}
bind n:cmd;alt;ctrl;shift move ${bottomLeftQuarter}
bind m:cmd;alt;ctrl;shift move ${bottomRightQuarter}
bind ;:cmd;alt;ctrl;shift throw previous
config windowHintsShowIcons true
config windowHintsFontColor 255;0;0;1.0
#config windowHintsWidth 200
#config windowHintsHeight 200
#config windowHintsBackgroundColor 50;53;200;0.9
config windowHintsIgnoreHiddenWindows false
#config windowHintsSpread true
config windowHintsSpreadSearchWidth 200
config windowHintsSpreadSearchHeight 200
config windowHintsSpreadPadding 200
bind 1:cmd;alt;ctrl;shift grid