-
Notifications
You must be signed in to change notification settings - Fork 248
/
cz
189 lines (188 loc) Β· 11.3 KB
/
cz
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[{
"type": "escape",
"width": 64,
"align": "left",
"bordered": false
},
{
"type": "group",
"align": "left",
"bordered": false,
"title": "π | π",
"items": [{
"type": "close",
"bordered": false,
"align": "left",
"width": 72
},
{
"type": "",
"title": "",
"bordered": false,
"align": "left",
"width": 4
},
{
"type": "brightnessDown",
"bordered": true,
"align": "center",
"width": 72
}, {
"type": "brightness",
"width": 120,
"align": "center",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAQAAAD41aSMAAAErklEQVR4Ae3cz2qd9ReF8ffQNgm0k1+TjqVJOrElGFAqVOxNFNuhiE6lmKHQ+9CWDsRDZorVlKJTpYT2FpSazvwVbDJrPeZxuGcvNLjPcjVrfy9gw/OB/DkH9nCEyWQymUwmk2GdNQbnN+D81nnKU28C9/yAN4F9fncC8/z+BOb5/QnM8/sTmOf3J7DMPzJ7bgTm+f0JzPP7E/jnNyfwz29OYJ9/hGA1ALr8NgT++c0J/PObE/jnNyfwz29O4J/fnMA/vznB8cgP8Pt/k8A/vzmBf35zAv/85gT++c0JzPPrCfQAx30CEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQ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D0J8/AEUgyh+AIhDlD0ARiPIHoAhE+QNQ13pF+QNQBKL8ASgCUf4AFIEofwCKQJQ/AEUgyR+AIhDkD0AR7CnzB6AIRPkDUASi/AEoAlH+ABSBKH8AikCUPwB1rVeUPwBFIMofgCIQ5Q9AEYjyB6AIKn8ARASVPwACgsofAAXBkfIHIC8AAcgLQADy/gF68AO0VMa28wAAAABJRU5ErkJggg=="
}
},
{
"type": "brightnessUp",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "",
"title": "",
"bordered": false,
"align": "center",
"width": 12
},
{
"type": "",
"title": "",
"bordered": false,
"align": "center",
"width": 12
},
{
"type": "illuminationDown",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "illuminationUp",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "",
"title": "",
"bordered": false,
"align": "center",
"width": 12
},
{
"type": "volumeDown",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "volume",
"width": 120,
"align": "center",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAhFBMVEUAAAD///+ampr5+fmHh4ePj4/z8/ODg4P8/Pz29vbr6+vf39/n5+fg4ODk5OTGxsatra3Z2dnR0dFcXFxKSkoTExMqKipERERTU1MfHx97e3sZGRk7OztkZGTKyspqamq7u7ufn59wcHAyMjILCwuzs7N2dnalpaVYWFhNTU0kJCQ2NjZ1V49bAAAM5UlEQVR4nO2daXuqMBCFcUex7rjvS231//+/q9a2yjkTSAjC7cP5eC9FXhImk8lk4ji5cuXKlStXrly5cuXKlStXrlxRNaoVN+WPtJ8iOb23varrVlvLP8o4PFQLd1W3aT9MEjq3C7+qLtJ+HPsadAuPap3SfiDbGreeAAulTdpPZFn9t0JAvb/ViCsALHh/yp6+twCw0Fyl/VQWNW0goCHhuHI8HIpj208YU9sqASw0DIbE0bLkuoWCW/IyNZ5OXQZYaLxr32nR/P3zt76fwLMaqUb5TAgHvacbrPuzJJ5XW2UBUJ/QPwbuUD0O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Fu6vkGZOUyePmQtRXAy90Ni0SqCaWb8kgxXaB7s3cO68poXFQTCnX9urTjUSe5ZPPUoK0JopqQGxpWYkF6G+YOKRPunI5LyDywKv2LGV9DxoIn8bTVLxOmJjyTgBLtoScOaHAmdoiU5/YZEDrFQNyieqD+yZDXbierGa9HDCEMbHnu8tObpSi9tXMRHqXbUcP80sd6no0OD7ZIp7yZ1J2NIMxziUXojL7bp3QQSkZKx/fUkzq1q68VuwmfPc0W60ah7hUHgt1/l3pNcievqaoFGRCqdWJ1Im83TvL0PFbaPiFC8aBF7ZOU9aRxsFUswslU6qF06mFT0RHjEI7F1aF60aqzxhS5o5oTniria3Q3iQNi4oF1wsVSHpaSb8Gr6Gq0NUJ/rRh2bZ7TpdIoUkc1I1RGFKwfmCeKHzAVkJC4pr6xKlkk4WHiWZ8REGnARS3lKZKNVwLKZ0vGIlS+t2bSRx0HFY6oTShWq72Kn42YqEK/RW3CD0WCRC+pA3JV2oV4N9qE7FCuuw7JHI8bJtwvHo9QjoKXE3ZFRdE0JnNCqU+k0kPvmq8VgVRtQv6+GkfcN/RCqRDtfIfL19vQZ51lC69vS/FtNY5JxNT0NBQ3jGgTnoIumyumS79UMwlR36dZPM/r36ZJnC9uIAnRwC+tPczs3UqqFuZZ/GxfA0Jn5X3dyq1jAnua8un6ngmhc6qtPc/rbsj5jqlqXyHzcpP5YYZVRsQ4GWdZ1Dt01KXV490zoOAysdFnmG0FTguzks2TMT1la1ftpYJkSLPjz8fID1j5A6r1bpGIevevAl6Tfg+dzqGS/owgV65cuXLlypUrV65cuXLlyvX/6h//WN/pHUvr8QAAAABJRU5ErkJggg=="
}
},
{
"type": "volumeUp",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "",
"title": "",
"bordered": false,
"align": "center",
"width": 12
},
{
"type": "previous",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "play",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "next",
"bordered": true,
"align": "center",
"width": 72
}
]
},
{
"type": "network",
"flip": true,
"bordered": false,
"align": "right",
"width": 80
},
{
"type": "dock",
"width": 300,
"align": "left"
}, {
"type": "yandexWeather",
"refreshInterval": 600,
"align": "right",
"bordered": false
},
{
"type": "shellScriptTitledButton",
"width": 80,
"refreshInterval": 2,
"source": {
"inline": "top -l 2 -n 0 -F | egrep -o ' \\d*\\.\\d+% idle' | tail -1 | awk -F% '{p = 100 - $1; if (p > 30) c = \"\\033[33m\"; if (p > 70) c = \"\\033[30;43m\"; printf \"%s%4.1f%%\\n\", c, p}'"
},
"actions": [{
"trigger": "singleTap",
"action": "appleScript",
"actionAppleScript": {
"inline": "activate application \"Activity Monitor\"\rtell application \"System Events\"\r\ttell process \"Activity Monitor\"\r\t\ttell radio button \"CPU\" of radio group 1 of group 2 of toolbar 1 of window 1 to perform action \"AXPress\"\r\tend tell\rend tell"
}
}],
"align": "right",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUAAADaACbYACfYACfjABzXACjYACfXACjYACfYACfYACfYACfdACLYACfXACjYACfVACv/AADXACjYACfYACfXACjYACfXACjaACXYACfYACfVACvYACfYACfZACbZACbYACfYACfZACb/AADYACfYACfVACrXACjVACu/AEDYACfYACfYACfXACjXACjYACfXACjYACfYACfYACfXACjYACfXACjYACfYACfZACbYACfYACfMADPYACfYACfYACfYACfYACfZACbXACjYACfYACfRAC7XACjYACfZACbWACnXACjXACjYACfTACzZACb/AADYACfYACfYACcAAAA+zneGAAAAU3RSTlMAItK+CVPjh3xUxPwPiGDQGAMtSKmN3Vk+wPQG/e26oIJBnwJCdiuAHgTmw+6BX+IgfaqLUvKOW8VKnagK+vBwYrhlc/urCznvhSyUbOEXPAFjGh/ektAAAAABYktHRACIBR1IAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4ggWETQ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YdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC"
},
"bordered": false
},
{
"type": "battery",
"align": "right",
"bordered": false
},
{
"type": "timeButton",
"formatTemplate": "Mζddζ₯ E",
"align": "right",
"locale": "zh_CN",
"bordered": false,
"longAction": "appleScript",
"longActionAppleScript": {
"inline": "activate application \"Calendar\""
}
},
{
"type": "timeButton",
"formatTemplate": "HH:mm:ss",
"align": "right",
"bordered": false,
"longAction": "shellScript",
"longExecutablePath": "/usr/bin/pmset",
"longShellArguments": [
"sleepnow"
]
}
]