forked from Toxblh/MTMR-presets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
item.json
244 lines (231 loc) · 19.4 KB
/
item.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
[
// To exit touchbar
{
"type": "exitTouchbar",
"align": "left",
"bordered": false,
"title": "",
"width": 24,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAABmJLR0QA/wD/AP+gvaeTAAAIH0lEQVR4nO2dXWwcVxXH/2fsXWfVZh3oA4TyYBIlRXJVG88dJw/lw6UC5aEiX01AKilSW6pCHlqqRHmiRUhAQQQRhSDxgmjF18ZJ+iERlbTZpiqrSDNT21HzkDg1eaFC0NKst9Xij5nDw66Fa+3HvXPvzHqd+b1Y9t57ztm/xmfvPfdjgZSUlJSUlJSUlJSUlFUKdTqAlRQKhZ6BgYERIroLwB1EtBXAJgC3APhY/ScAfAjg/frPGSK6Eobh1Z6enqlr165N7Nu3L+jIG2jCqhD64sWLn85kMnuZ+csAvgAgr2myzMyvE9Grvb2948PDw/8wEKYWHRO6VCrlMpnMXsuyD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SqdjM/D2sjhLruwAer1QqdhIiAx34d56amrplYWHhYQCHAEifpTbEv5j510EQHN2+fftsko47ljeLxeK6fD6/h5m/CeBexHcDZMDM54jouUqlcvqmuXq+EZ7nbWTmPfWz1V9E7dspdHgfwAUieiUIglMqq9VxsSqEXk6hUOjZtGnTEDMP178aZCuAz6B2ieEG/P88zQeobVObRW3r7FUiusLMUzMzM1Or7etBUlJSUlJSUlJSUlJSVi3/A5mJikETIZVkAAAAAElFTkSuQmCC"
}
},
// 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
}
]
},
// YouTube Music works only for Google Chrome
{
"name": "Now Playing (YouTube Music)",
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"Google Chrome\" is running then\r\ttell application \"Google Chrome\"\r\t\trepeat with t in tabs of windows\r\t\t\ttell t\r\t\t\t\tif URL starts with \"https://music.youtube.com\" or URL starts with \"http://music.youtube.com\" then\r\t\t\t\t\ttry\r\t\t\t\t\t\tlocal groupName, trackName, timeTrack, response\r\t\t\t\t\t\tset response to \"\"\r\t\t\t\t\t\tset groupName to execute JavaScript \"document.getElementsByClassName('byline ytmusic-player-bar')[0]?.firstChild.innerText || ''\"\r\t\t\t\t\t\tset trackName to execute JavaScript \"document.getElementsByClassName('title ytmusic-player-bar')[0]?.innerText|| ''\"\r\t\t\t\t\t\t\r\t\t\t\t\t\tif groupName is not equal to \"\" then\r\t\t\t\t\t\t\tset response to response & groupName\r\t\t\t\t\t\tend if\r\t\t\t\t\t\t\r\t\t\t\t\t\tif trackName is not equal to \"\" then\r\t\t\t\t\t\t\tif response is not equal to \"\" then\r\t\t\t\t\t\t\t\tset response to response & \" - \" & trackName\r\t\t\t\t\t\t\telse\r\t\t\t\t\t\t\t\tset response to response & trackName\r\t\t\t\t\t\t\tend if\r\t\t\t\t\t\tend if\r\t\t\t\t\t\t\r\t\t\t\t\t\tif response is equal to \"\" then return \"...........................\"\r\t\t\t\t\t\treturn response\r\t\t\t\t\ton error errorMsg\r\t\t\t\t\t\treturn errorMsg\r\t\t\t\t\tend try\r\t\t\t\tend if\r\t\t\tend tell\r\t\tend repeat\r\tend tell\rend if\rreturn \"Open YouTube Music\""
// To show time uncomment
// "inline": "if application \"Google Chrome\" is running then\r\ttell application \"Google Chrome\"\r\t\trepeat with t in tabs of windows\r\t\t\ttell t\r\t\t\t\tif URL starts with \"https://music.youtube.com\" or URL starts with \"http://music.youtube.com\" then\r\t\t\t\t\ttry\r\t\t\t\t\t\tlocal groupName, trackName, timeTrack, response\r\t\t\t\t\t\tset response to \"\"\r\t\t\t\t\t\tset groupName to execute JavaScript \"document.getElementsByClassName('byline ytmusic-player-bar')[0]?.firstChild.innerText || ''\"\r\t\t\t\t\t\tset trackName to execute JavaScript \"document.getElementsByClassName('title ytmusic-player-bar')[0]?.innerText|| ''\"\r\t\t\t\t\t\tset timeTrack to execute JavaScript \"document.getElementsByClassName('time-info ytmusic-player-bar')[0]?.innerText|| ''\"\r\t\t\t\t\t\t\r\t\t\t\t\t\tif timeTrack is not equal to \"\" then\r\t\t\t\t\t\t\tset response to response & \"(\" & timeTrack & \") \"\r\t\t\t\t\t\tend if\r\t\t\t\t\t\t\r\t\t\t\t\t\tif groupName is not equal to \"\" then\r\t\t\t\t\t\t\tset response to response & groupName\r\t\t\t\t\t\tend if\r\t\t\t\t\t\t\r\t\t\t\t\t\tif trackName is not equal to \"\" then\r\t\t\t\t\t\t\tif response is not equal to \"\" then\r\t\t\t\t\t\t\t\tset response to response & \" - \" & trackName\r\t\t\t\t\t\t\telse\r\t\t\t\t\t\t\t\tset response to response & trackName\r\t\t\t\t\t\t\tend if\r\t\t\t\t\t\tend if\r\t\t\t\t\t\t\r\t\t\t\t\t\tif response is equal to \"\" then return \"...........................\"\r\t\t\t\t\t\treturn response\r\t\t\t\t\ton error errorMsg\r\t\t\t\t\t\treturn errorMsg\r\t\t\t\t\tend try\r\t\t\t\tend if\r\t\t\tend tell\r\t\tend repeat\r\tend tell\rend if\rreturn \"Open YouTube Music\""
},
"action": "appleScript",
"actionAppleScript": {
"inline": "if application \"Google Chrome\" is not running then\r\ttell application \"Google Chrome\" to activate\rend if\r\rtell application \"Google Chrome\"\r\trepeat with t in tabs of windows\r\t\ttell t\r\t\t\tif URL starts with \"https://music.youtube.com\" or URL starts with \"http://music.youtube.com\" then\r\t\t\t\treturn\r\t\t\tend if\r\t\tend tell\r\tend repeat\rend tell\r\rtell application \"Google Chrome\" to open location \"https://music.youtube.com\""
},
"refreshInterval": 20,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAQkklEQVR4nO1de2wU19X/Xa/XPPwILDakKgYDbkxC3NCHggMxBkLaRK2UiFCiqikRfSA1Ck2UJgpRq6+k2MQ1//RL2zQ4JEqdUKd2QCoKSlACfvCweZhXoLbXbgEbYyCwxi8C3t35fX9cm52ZnV3vemZ3zEd+0pVnxzPnnDnnvubec84AX8FWCLsFCAeSTgAzAMwGkAMgC0DyYJkAIGXw0j4AVwH0D5bTAJoBNAE4LYTwxVXwKDCqDEDSBWARgMWDf3MAOE2S9UIao2qwVAshukzStAy2G4DkdABPAVgGYC6AhBizVAAcBbANwPtCiLYY8wsLWwxAMgXAcgBPA1iI6JQ+APIavN5e+P3XAQAOx1g4nakQYjyApChoKQBqAJQB+FAI0RfFvZYgrgYY7GLWAPg1AFfYi32+82htPYOjR704cCAJBw+6cOzYNHz55biw940ffw333deOefM8mDfvBubOHYPs7CwkJn5tGPGuAHgdwJ9HUxdlCUhOJllCsoehoCg9bGzcz8LCPbz77jYCtLTcffdZFhXtYWNjHRWlN6QcUsZikhl26800SCaQXEnycoiH9fPy5ZNcv76OKSn9lis9VBk79jqfeeYwz5w5TNIbQrYuks+RdNitxxGB5P0kG0LU9l5+9FENp069FDelhyqZmZe4Y0dtmFZxiOR37dZnxCDpJLmRpN9A8Vf4wQdVdLm6bFe8vkya1Mv33qun33/VsKXKbinRbv2GBclMknsNH6Ch4SDT03tsV/RwZeLEfu7cWU/SZ/AcB0nOsFvPhiD5GElPkMhdXaf4wAMttis22pKf72Z3978Nj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q6kGDhyEVpY8ff1zLadMu2q746dMv8pNPanUb6GrUM4JVzVEJyg++raR+DUndNXk8J7hhQy1TU/vipvRx477kmjX72dZ2kKE/6OzhrfxBZzVIpg82YaPmHWgVbncdi4v3cM6cM5YrPTf3NEtKatnSUhemtpMy0/l6htlGtBJx/RAlpVfwswCeBxD+Af3+TrS2nsGJEzdQX5+E+noXjh/PRH9/eN+a5OR+zJ3bjnnzPMjL8+Kb30xCdvYM3Vq9ES4D+BOAvwghuoe51jLY8iVQSgel5QBWAliE6FIm+ED2wefrhc8ng30TE8ciMTEVQqQAiGagVABUASgDsFUIYT5TTJSw51OsKlA6qz4FYBmAbwGIdZ/rB3AEwDYA7wsh9OGjcYXtBlCDMqNsAYDFkC1jNgATid8AAAMAGgHUANgNoEYIcdUkTcswqgygB+W8Owsyv9rsweNkyPQ6EwePAaAfQBdkyoU+yCDoJgDNAE4LIfzxlPsr3EL4P+lMKSF+IiJHAAAAAElFTkSuQmCC"
}
},
// Uncomment for Spotify or Music
// {
// "type": "music",
// "align": "center",
// "bordered": false, // Optional
// "refreshInterval": 5, // in seconds. Optional. Default 5 seconds
// "disableMarquee": false // to disable marquee effect. Optional. Default false
// },
// Dock shows all the apps
{
"type": "dock",
"width": 200,
"autoResize": true,
"align": "left"
},
{ "type": "displaySleep", "width": 24, "align": "right", "bordered": true },
// Weather
{
"type": "weather",
"align": "right",
"api_key": "ca93a0bb8cdb428552660d83249e4bc9",
"bordered": false,
"width": 58
},
// Internet Speed
{
"type": "network",
"flip": true,
"align": "right",
"bordered": false,
"width": 64
},
// CPU Activity Monitor
{
"type": "appleScriptTitledButton",
"source": {
"inline": "set cpu to do shell script \"ps axo %cpu | awk '{s+=$1}END{print s}'\"\rreturn 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": 10,
"align": "right",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUAAADaACbYACfYACfjABzXACjYACfXACjYACfYACfYACfYACfdACLYACfXACjYACfVACv/AADXACjYACfYACfXACjYACfXACjaACXYACfYACfVACvYACfYACfZACbZACbYACfYACfZACb/AADYACfYACfVACrXACjVACu/AEDYACfYACfYACfXACjXACjYACfXACjYACfYACfYACfXACjYACfXACjYACfYACfZACbYACfYACfMADPYACfYACfYACfYACfYACfZACbXACjYACfYACfRAC7XACjYACfZACbWACnXACjXACjYACfTACzZACb/AADYACfYACfYACcAAAA+zneGAAAAU3RSTlMAItK+CVPjh3xUxPwPiGDQGAMtSKmN3Vk+wPQG/e26oIJBnwJCdiuAHgTmw+6BX+IgfaqLUvKOW8VKnagK+vBwYrhlc/urCznvhSyUbOEXPAFjGh/ektAAAAABYktHRACIBR1IAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4ggWETQWgEDcSgAAAqVJREFUWMPtl4ly2jAQhsUNNlcw5r4SICEHLSQhCQRyX73T/u//LpUlLIyxbMAznWmn/0ywo5U+27tr7ZoQuwLBUJidRKIxPhKLRtgxHAoGiLfiQIKdKFCTxjGpQmEDCSC+BiAFpNlJBsgaxyyQYQNpIPUf8AcAOzktD+iaoQJQNI5FoMAGdCCv5XZclpfKFXiqUi5Jllf1mvdyQzW96gigd4h6o+mhRp1O0x3vvwa1VSWeqrZU1Jyeogy01ggSVQsoO/i/gjq9/u6u+2LDXq2jshqLHNCgdsCVwO0NILdi0oDmuoAmoImhQDzFRPNnb36L7U43NVfc2EH2D9h5t9OePyIF5IU9uIhvkyN7iiXmQUIOj8x/lB6f0bTaQ3ZA+9iaNCH2Lpg6btsBIRJOpJl0E9ABTvof5kqEGeCjMaN/AnRMgM5XJcI2J1J1gf6S48Tb2Ae6JkAjdgmAeJ1XAOJ1Xg8wGJ6elXwAzkeGjy62BgxG3MuXnoCIkmEq8EQyAUPgajyhPxJAga9SIiRqzwMOuAbGZDrDjQRgKkpiqiPgFphM74B7d4BKy2cyy1RcBvSodUb/HiSAIl+VlEfh8cm4wvPL9nnw+gbc+kkkUVioO95etwe8PBuP8vQoBzg7UQAe5t7syZwoCaMA3AN30wlzh3MYJYkkADeYTckYuJYlkiSVBeCKZtSY/gxlqezlxEt+pdFg6zBesPXn1ih8Aj5vkAels9PhYCkPsl++kg0AQu4dyuqmugIQm+qS5Nv6N+D7wm7d1skPc4xu666Fhd6BxU6r+jub8tNaWNxK29EhsdpR/sVn7FlLm0txPdgni+JrFNd3p+K67MQtyrsp3w2G7xbHd5Plv83z3Wj6b3V9N9ssFv7afaa//ZPn3wD4/vje8PP/N7TebS0hgZhEAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTA4LTIyVDE3OjUyOjIyKzAyOjAwc2qUYAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wOC0yMlQxNzo1MjoyMiswMjowMAI3LNwAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC"
}
},
// Battery
{
"type": "battery",
"align": "right",
"bordered": false
},
// Time with date
{
"type": "timeButton",
"formatTemplate": "MM/d HH:mm",
"align": "right",
"bordered": false,
"longAction": "shellScript",
"longExecutablePath": "/usr/bin/pmset",
"longShellArguments": ["sleepnow"],
"width": 92
},
// Kill app on long press
{
"type": "staticButton",
"title": "☠️ Kill",
"width": 52,
"longAction": "appleScript",
"longActionAppleScript": {
"inline": "tell application \"System Events\" to key code 53 using {command down, option down, shift down}"
},
"align": "right"
}
]