-
Notifications
You must be signed in to change notification settings - Fork 248
/
items.json
256 lines (243 loc) · 24.2 KB
/
items.json
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
[
// To exit touchbar
{
"type": "exitTouchbar",
"align": "left",
"bordered": false,
"title": "",
"width": 25,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAABmJLR0QA/wD/AP+gvaeTAAAIH0lEQVR4nO2dXWwcVxXH/2fsXWfVZh3oA4TyYBIlRXJVG88dJw/lw6UC5aEiX01AKilSW6pCHlqqRHmiRUhAQQQRhSDxgmjF18ZJ+iERlbTZpiqrSDNT21HzkDg1eaFC0NKst9Xij5nDw66Fa+3HvXPvzHqd+b1Y9t57ztm/xmfvPfdjgZSUlJSUlJSUlJSUlFUKdTqAlRQKhZ6BgYERIroLwB1EtBXAJgC3APhY/ScAfAjg/frPGSK6Eobh1Z6enqlr165N7Nu3L+jIG2jCqhD64sWLn85kMnuZ+csAvgAgr2myzMyvE9Grvb2948PDw/8wEKYWHRO6VCrlMp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tiuEeKNSqdjM/D2sjhLruwAer1QqdhIiAx34d56amrplYWHhYQCHAEifpTbEv5j510EQHN2+fftsko47ljeLxeK6fD6/h5m/CeBexHcDZMDM54jouUqlcvqmuXq+EZ7nbWTmPfWz1V9E7dspdHgfwAUieiUIglMqq9VxsSqEXk6hUOjZtGnTEDMP178aZCuAz6B2ieEG/P88zQeobVObRW3r7FUiusLMUzMzM1Or7etBUlJSUlJSUlJSUlJSVi3/A5mJikETIZVkAAAAAElFTkSuQmCC"
}
},
// esc
{ "type": "escape", "align": "left", "width": 50 },
// Media / Others group
{
"type": "group",
"align": "left",
"bordered": true,
"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": "brightnessUp",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "",
"title": "",
"bordered": false,
"align": "center",
"width": 12
},
{
"type": "staticButton",
"title": "",
"align": "center",
"width": 72,
"longAction": "appleScript",
"longActionAppleScript": {
"inline": "do shell script \"open /System/Library/PreferencePanes/Keyboard.prefPane\""
},
"bordered": true,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAAgklEQVRIie3VQQqAIBCF4WdEd6gT2zk6m9Et/hYVSSEtciTCbzXg4ukMOFJVFQd0wAjM5BcAD3TaC2veAbOk3rhxi+LYqJ3Z6kNj9YQrF9/AUrEX3YLc7m39GGTlfzNqUwepXj9JdajojIKkwTgnNJIm4xBJmo414dm+9NzONVF93goYJnbdoBiEXwAAAABJRU5ErkJggg=="
}
},
{
"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": "mute",
"bordered": true,
"align": "center",
"width": 72
},
{
"type": "volumeDown",
"bordered": true,
"align": "center",
"width": 72
},
{
"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
}
]
},
// Dock shows all the apps
{
"type": "dock",
"width": 250,
"autoResize": true,
"align": "left"
},
// Battery
{
"type": "battery",
"align": "right",
"image": {
"base64":"iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALiQAAC4kBN8nLrQAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAAcVQTFRFAAAAAP8A//8A////gP+Aqv9Vqv+qv/+Amf9mzP9mqv+Atv9tqv9xs/+Auf90qv+ApP+Arv95rf94rv95q/93q/95rP95q/94rP94rf96q/94qv95rP92rP95rf94rP93q/93qv93rP93q/94rP94q/93q/94q/94rP93qv93rP93rP95q/94rf94q/93rP94q/93q/95rf95q/94q/93rP94rP95q/94rP93rP95rP94rP94rP93rP95q/93q/94rP94q/93rf94rP95rP94rP94q/93rP94q/94rP95q/94q/93q/95rP93rP95rP93q/94rP94q/94q/94rP94q/94q/94rP94rP93rP94rP94rP94q/94rP94rP93rP95q/94rP94q/93q/94q/94rP93q/94rP94q/94rP94rP94rP94q/94q/94q/94rP94q/93q/94rP94rP94q/93rP93rP94q/94rP94rP93rP94q/94rP94rP95rf95r/96r/97sP97sf97sf98sv98sv99s/99tP99tP9+tf9+tf9/tv9/t/+AuP+Buf+Buv+CvP+DvP+Evf+Evv+Fv/+Fv/+Gwv+IMJzaNwAAAHt0Uk5TAAEBAQIDAwQFBQYHCQoLDA4TIjk6PUpVWVpbXV9fZGVnaWlqbG15fX6BgYGCgoOEhYWFhpKTlJWWlpeZmpqeoaKjpKmssrS1t7i5urq8vL6/xMbIyNHS1dbW19rb297e5ebn5+jp6+zx8vP19vf5+fr6+vv8/Pz9/f7+XaSQpwAAAkpJREFUSMftlv1TEkEYxx+kBLE0K1O0TEusREohs4S0EqkoXxCVxCwzehPpxQsJIZHwztvbywrUv7cNGmex5Tb8tT43tzd3O5/Zm+d7z80C0OhNRsNROJVZjSUJK6k3x+GIwWjSQ0kOFy4nN1ZjCaJE118fK5pgGo29TtfVu2vxWJwQS769c83l7G0s6VRC3QTexAoWP8YKrHySya2EJ+rIJAPywg+yAhIlUVL2IDciErIP89OMRerFxGJHQ7O5ydy0h7m5oWMxIdYzlzHAOSRfZ61/Q1bOk2mWYlGQFWoMVUaKKkMNWJFiKaG0Y+QA0/7nJnAg3F5qFYy6WUo3wpYylZ7/yr+hXIHqikNFVFRzFRPoiviLb4yBXUvBXTAw7rlH4RkfABvWUNROCG1LKoW0HQKrqqVYYSYdfk8RTs9wlVlJSFII0ixXCaYjAkUkHeQonbCQkzCFlHumrZCK3fZ5R0fIkR9GRr2+W9oVQz0HyaXPM+SmGPL0cXK5BC92ZDoXeSdUdsW+BLnK4325bPJzCaTC7yjCqQA3l+fFuYi5BW4u7infpH+S4Cejf9I35ebkcoB+sYFjsN+V52Z+7B90wGVOv7zaxd8o1N2X3Io9KrdiVpiTo2ufC8evISrPaSpKviuXPlAscbpSUbtg/ntGpsj8mAebqmgoF8D7ZDpAMf30PlwsrbQh2cnKxSWjNqZSSXZI8Yj9dGvLWYqW1jP2SHzjBHN3odfBcDa69fUPtqLZYdDp2Xur2jHSLMvLwu+zAPnJjNXSu6ufY9Bl7SC0Yh8AAAAASUVORK5CYII="
},
"bordered": false
},
// Internet Speed
{
"type": "network",
"flip": true,
"align": "right",
"bordered": false,
"width": 90
},
// CPU Activity Monitor
{
"type": "appleScriptTitledButton",
"source": {
"inline": "set cpu to do shell script \" top -l 2 | grep -E '^CPU' | tail -1 | grep -Eo '[^[:space:]]+%' | tail -1 | awk '{printf(100-$1)}' \" \r return cpu & \"%\" "
},
"longAction": "appleScript",
"longActionAppleScript": {
"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"
},
"refreshInterval": 5,
"width": 85,
"align": "right",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUAAADaACbYACfYACfjABzXACjYACfXACjYACfYACfYACfYACfdACLYACfXACjYACfVACv/AADXACjYACfYACfXACjYACfXACjaACXYACfYACfVACvYACfYACfZACbZACbYACfYACfZACb/AADYACfYACfVACrXACjVACu/AEDYACfYACfYACfXACjXACjYACfXACjYACfYACfYACfXACjYACfXACjYACfYACfZACbYACfYACfMADPYACfYACfYACfYACfYACfZACbXACjYACfYACfRAC7XACjYACfZACbWACnXACjXACjYACfTACzZACb/AADY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2G7xbHd5Plv83z3Wj6b3V9N9ssFv7afaa//ZPn3wD4/vje8PP/N7TebS0hgZhEAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTA4LTIyVDE3OjUyOjIyKzAyOjAwc2qUYAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wOC0yMlQxNzo1MjoyMiswMjowMAI3LNwAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC"
}
},
// memory
{
"type": "appleScriptTitledButton",
"source": {
"inline": "set mem to do shell script \"ps -A -o %mem | awk '{s+=$1}END{print s}'\"\rreturn mem & \"%\""
},
"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"
},
"refreshInterval": 5,
"width": 85,
"align": "right",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA0WSURBVHic5Zt5dFRFFsZ/1dk6C+msho6CEAFNRAQEEmFEIQHUAXR0ECGinqMyM6KIM+IIuEcGj8u4J7iNK6BhNBiQnQgIEkAF2SUQ9qwSCGTfav54S/ol3Z3eop4z3zk56X5Vr+p9X9eruvfWLSGl5P8Z/r/1AwAIIQQwEYgDitW/IqBYSlnTqX3/HkaAEOIGYLmD4tPAaiAXWCGlrPRl3yZfNuYFLnZSFg1MAhYB5UKItUKI6UKIaF903GkjQAgRACQD3QErEK/+twKlwFQp5Tm17l+BLID31j/K2dNVHNlfTOH+Ygr3FXHsQAl1tQ1tu6gEXgRelVJWe/ycvhRACBEJ3ACMV/+HO6l+p5TyE/U+XYCcA88RdYHx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hu1V7tKJDwEQppV2F2wkgpTwMTAFkY0Mlm5eNo6H+jOus3ECMtdUg+tbJa6DBXRGAc8B4KaVDAnZTZKSUS4CnAKrOFrB1xUQcCOgVzKFWwixK3pKzecAWLoowDCXRI1V1qBzCYZaYlDIDWAxQemINW1dNprmp1qWHdAfacvhdebnLRrgdEZYJbUkBpJQFUsrZUsoO8/Y6SpS8G9gJcLIgm/VfDKe26pTzO9yE9hqcaWhg79mzLt3TJCU1zc02CXuE4WHit1MB1BzbNJQYHWfKvmdd9mAqSrd50pdd2DpGrswDR6qqGL5qFRm7dmkjpgQYK6Wsd3qjA3SYKquGrEcDb4ESO9zwxbUU/PQaLS1uH9Bohy6Rl+nb7h3NAwuPHKH/smVsabUcfwAGSyk9Dl27lCwtpWySUj4ATAUam5vr+GnjDFZ/msjJgmxP+9YRbR0GOBbgZE0NUzZvJn3TJs416qIvAq6RUp70pm+3TjWoJzFSgSMAVZWHyV85kbzsZK+iSTE2AZIT1a07wetKSrh1wwZ6fPklnxbqpnkN8KiUcrIay/AKHh2aUjPK/gI8jnJmB4DQ8J7EJ9zMhQk3Ex0/DJuJ2SkqSraSt1jJ48lKTqaxpYXMgwc5UGk4ItgIvAdkSCl9FsL26tSYECIUeBjFzLTYlgUFx2DtMZYuUUkEh1oxh1gxh8YTHGrF5G+mvqaM+ppS6mpLqTl/gh3r73fUjQQ+Q3FjD3v8sI44+OLYnHqIMR0l1WY4ytkdb7EPJVK1UAuGdAZ8fnBSCGGh9ezgaJSTn66gHtiCQjq3M35te+j0s8NCiBDanxwNQlm/i1APS0spKxw20pnP93s4PP1b4n+Nm8iRZLSmJgAAAABJRU5ErkJggg=="
}
},
// cpu temperature
/*
First, install Stats: "sudo gem install istats" through the terminal;
Then, through the "which istats" command, find the location where the command is installed.
Finally, the following script is designed.
*/
{
"type": "appleScriptTitledButton",
"source": {
"inline":"set temp to do shell script \"/usr/local/bin/istats cpu --no-graphs --no-labels\"\rreturn temp "
},
"refreshInterval": 5,
"width": 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uy4RuKVd/rVWQgf8BgR2QXEnsvdpXym0svx7gxEEPPq7cr1QFYQowY7VS07ZrPYacUh79eo0N0lAykcqngqkZmThyo7FRLr+//BjHG50Ybec0HMJ4cpqayNiMdqs93xQ5Hf/ldiWbxgNJAFJM40lGBrv6S0v7LwSEVR9EU/EddpzdCzAGAK2vXZ/Y46E8Fvr5jb5LdXW3b9fV1V1q6+/q5HKvJ/s3FHmjah08GGJnrPXDFRrpfLRnp86RNYQe//H6QLlcLuc2Nj540N9//3NPf5FqDbpO6rhaxvTSwxpNamCm+BBK4LgmhBHW4JrcfX9goLH8wc8/dh93bZDlHtZssDt6M/X01tueQFGWdhXSJ8KtNdc1IDQgYPl3q1xdXbPzWwnhmtnwAu8SEUFPb3ztSZS1e2uHF581++2acopEgriiapEg4aCN1umC5nBkgT56W6gOlDH3Pz3ThTNaseirKHPzqIhvbfY9Hfb9kuqZlnrTD547WsakHBpbfLEwwZmYjEX9oAixjLNEr2/cbfLKZEgJ4S9d/wlaE8NhuHvp+20zP4KUwSD8acu4ZTjclvm+Mgbn8Gm9b1hM2LQmUCbLVUX/ztnIGGdiZmaC23Ti4wjLimqZmrBN/1tGUPYtIohl7e0hIZEE86ioSYSl+KacfKnwsO2mCYYSnF8wwV2VX11fX19UxKjOrUgkePkZ+OVv3Fqro19ZLp0yZWm097uTgwysHUP5Bz0blBvWPvxmAAAAAElFTkSuQmCC"
}
},
// Weather
/* Register here: home.openweathermap.org
Then grab API key from here: home.openweathermap.org/api_keys
Then put it to your config "api_key": "..." in weather section
From docs: It takes up to 1 hour to activate your API key. We send you a confirmation email as your API key is ready to work.
*/
/*
{
"type": "weather",
"align": "right",
"api_key": "c8b6e956b82489742b1efe3a42c0899b",
"bordered": false,
"width": 58
},
*/
// Time with date
{
"type": "timeButton",
"formatTemplate": "E MM月dd日 HH:mm",
"align": "right",
"locale": "zh_CN",
"bordered": false,
"longAction": "appleScript",
"longActionAppleScript": {
"inline": "activate application \"Calendar\""
},
"width": 150
}
]