forked from Toxblh/MTMR-presets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
toxblh.json
163 lines (163 loc) Β· 22.3 KB
/
toxblh.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
[
{
"type": "escape",
"width": 64,
"align": "left"
},
{
"type": "exitTouchbar",
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABgUExURUdwTHZ2dqOio+Hh4dbV1ePj45CQkPn5+ebm5sbGxtva2qSkpNDQ0MjHyN/e3mRjZEZGRkxLSgkKCTo1PygpKA88Q/yqHuedKZ1wPWVPS/JVrlvMFE6dMcWINMNPjpdKcnIFGisAAAAQdFJOUwD+HMVz3v7++v6W/lhEs/4jVOGZAAADZUlEQVRYw61XiZaiMBAcFORw0IQOIof4/3+51QlKwiQc7207KI5UpfpI0vn5CdipjIvbOYGdb0Vcnn4O2Sk+Z6lj2Tnez/E7oTO2HNeH43cXPE7003l+ie6SYPIeXfJcsyTx9uiJRl/vqlKKhBBSCFKqovtVcyTrKk43DY8AkGxCm76lSkWa4rYSizLT8Ep9sbPhX6qKch6gDHrPv154cOEzLePCIgKRKHh4qQLwiUPJPM3Swo/P0mslVuCaQlRXaCj8418quYFnCrjh0RAbvNhhhmERh3I/XjPACycXJ8T2uhfPDIhDYtcD6iffj2cGFMTNql84IMURAiGhea7qBAFQB/BgUAhDYmXgkANfJ+JZQESaQNbPpnlZz72a5lljHlkvMgQUZR8Jv7MAEDwej2ftfqPKNrIkmCicIUDNkObx+hK88O1Z4xYojI4PmqMACeepBvJPBA1B004PtQ9NYH4EgXTnFabVyYTwW0Oa4IPRAhyCv9UUGw/uZBG8wDE9A/QKAd21D7YHRkFrQPa9j0BMPpR2EWgQlL80AT5pjYDzUHIILq4C4pGhEKO3YlXBhYNQfKvoQyDNsBzCet2FiBeWG8dQODGoTRgZu0rAUbxxEub0GgLSsPkuQADjNGAi0IJA6DDyJdYJiKcDE8gFAYcRFdDSXoKlAoEw4gXiVQIZJDBTgpE7FHiCKDSwkWKLQHIQl2lsADRVCCCy0GylsZhXg2maLtfP8LqoC8kpZXF4YY3dyXR8XS3d6XxQgVmS7AUlvJF8oyGXC4qzpIWs1hnizMOWS9oOH+Sb8e+W5DD0A7keOMu6H16P3RvTohuHvu+HXpK7rNsbixdP765714LfMDwNRoK1sVhbm9eo67oWKjrC6IKMD/bWtr65sgPdqMaPgL7/u7lCQrAasbZ2CAG/qaGHBhMCd3tfazBkjaG7FhcEcAwFeRqMcIuD5HXt2I3jmyPQDxheelqccJMFAaNCEPGBCMCHuYayk9vmZamnzdMCkMBWCyAxZQBtXpaWy0Yz8zSKSMGICkASRsX5l32o0Qy2um3LF+FP/ySDra5m8DTbNF1Os73Sru9q91M/fvPAIbYOHPrIAxFbR56kXDl1uYcuC7zv0OU59jEJH/vUvmPffzh4eo++2aGj7384fB86/v8D9YTH9SlTJskAAAAASUVORK5CYII="
},
"title": "",
"align": "left",
"bordered": false
},
{
"type": "nightShift",
"align": "left",
"width": 38
},
{
"type": "dnd",
"align": "left",
"width": 38
},
{
"type": "staticButton",
"title": "β²",
"action": "appleScript",
"actionAppleScript": {
"inline": "tell application \"Safari\"\rdo JavaScript \"javascript:var video = document.querySelector('video'); video.webkitSetPresentationMode(video.webkitPresentationMode === 'picture-in-picture' ? 'inline' : 'picture-in-picture');\" in document 1\rend tell"
// You must enable the 'Allow JavaScript from Apple Events' option in Safari's Develop menu to use 'do JavaScript
},
"align": "left",
"bordered": false
},
{
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rtell application \"iTunes\"\rif disliked of current track then\rreturn \"ππΏ\"\relse\rreturn \"ππ»\"\r end if\rend tell\rend if\rend tell\rend if"
},
"action": "appleScript",
"actionAppleScript": {
"inline": "tell application \"iTunes\"\rif disliked of current track then\rset disliked of current track to false\relse\rset disliked of current track to true\rend if\rend tell"
},
"refreshInterval": 2
},
{
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rtell application \"iTunes\"\rif loved of current track then\rreturn \"β₯οΈ\"\relse\rreturn \"β‘\"\rend if\rend tell\rend if\rend tell\rend if"
},
"action": "appleScript",
"actionAppleScript": {
"inline": "tell application \"iTunes\"\rif loved of current track then\rset loved of current track to false\relse\rset loved of current track to true\rend if\rend tell"
},
"refreshInterval": 2
},
{
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rreturn (get artist of current track) & \" β \" & (get name of current track)\relse\rreturn \"\"\rend if\rend tell\rend if\rreturn \"\"\r"
},
"action": "appleScript",
"actionAppleScript": {
"inline": "if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rnext track\rend if\rend tell\rend if\r"
},
"longAction": "appleScript",
"longActionAppleScript": {
"inline": "if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rprev track\rend if\rend tell\rend if\r"
},
"refreshInterval": 2,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAADAUExURUdwTOVVZCzB+3qc0gkDBgEBAgcKEwAAAA4EBP5aVU2V95iJv7V3rtBOvH5W6jaOyclScKZGX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wgDXIDEoaeHLYE36BafzuQWFQ9RASM/XQPpMD5YQ2gA/AwPArQJyZWDsgo64C+/pBRkDG4s31hdmwFNAGz1mBjPukBs8qdSgLDBA1LJm1lw/14IgWAdAQ5nhax4HY/FR7qfpHQMPUChzS0c6eFmv17MZo7HZBP3MQJHTNCnzxPMgOFUteAGtMwMmfRPIijBgc+AmNK6+9zw+9Iw05YsG8aaT/7Kro7eUcoSWw3n/1W57SxgGOZCYxl+VDDabcf6LpNTf3g6IQ4XY7TbiyyUBmhqsViswWK02cE7ITIdmtxnWlcJz6f1tPyMsha+2R4UGyJPdywotwGSHOKHdm+IMYA40BRhtkXOb42DAh8crppjw8CyB4nMBlvFtD/0WSfZebkDHguLNar2JdyTXptqRrx6OmMKZkISQc4Yv9yyDXHiiEx1qXL1OAFdhBJPAAQeRQDEiRZEm+kwnu2p1XHo64yQ8j47bL1kCZ87pDKWxuW4mQJ9O9ba31xE5Y/rnA4VoTCJQwvnyBNgk+pkDi8sSJjlKRPxhX7r3Lytz0LPMi1H1Qv7VuzwuAzh4h1ukKFi/YV9+9E8THZbne2Ezxd/xsNGQ6u+wgoeH4SH9Tl367t+2Ko/acA8Oj/DhWP7X/30Zkvj4WMYlj10MOISXf7DlkPvvH6g43u0oCzDS1U5f/sHWC3d7cn3UAQf4HeHfwxXQY4yu/HTDKNXro3Gngw4vw2FnPKrXJfUXu0fqIdeFZOnXm08FTRSxcf391pW7oNGT8vRf6i9jqljwYzAm6AAAAABJRU5ErkJggg=="
}
},
{
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"Spotify\" is running then\rtell application \"Spotify\"\rif player state is playing then\rif shuffling is true then\rreturn \"on\"\relse\rreturn \"off\"\rend if\relse\rreturn \"\"\rend if\rend tell\rend if\rreturn \"\""
},
"action": "appleScript",
"actionAppleScript": {
"inline": "tell application \"Spotify\"\rif shuffling then\rset shuffling to false\relse\rset shuffling to true\rend if\rend tell"
},
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAA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/B810BSwJGjUrwAAAABJRU5ErkJggg=="
},
"refreshInterval": 2,
"bordered": false
},
{
"type": "appleScriptTitledButton",
"source": {
"inline": "if application \"Spotify\" is running then\rtell application \"Spotify\"\rif player state is playing then\rreturn (get artist of current track) & \" β \" & (get name of current track)\relse\rreturn \"\"\rend if\rend tell\rend if\rreturn \"\"\r"
},
"action": "appleScript",
"actionAppleScript": {
"inline": "if application \"Spotify\" is running then\rtell application \"Spotify\"\rif player state is playing then\rnext track\rend if\rend tell\rend if\r"
},
"refreshInterval": 2,
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTB3WXx3UXh3VXx7XYBkXFRpVLRyURmIaeAQAAAAEdFJOUwDDO3fSqUUkAAABbklEQVRIx61VbW6DMAztoAeYNA7ApB6gkzhAWS24wIAL0HABaK6/pHFNEhy8TXu/kPzkPD/8cTj8K7KPAqB+K5NhQPCUrABCXe7HOUYYZxgVRLiG8RfY4DUgFFtC7cffAfZTFBwBdhWEKfgEq4ocEjgj4ZQifO6/QG9kkETp1dDeVWfRKx3XYSW0LoqY5kCElXDrQkyeCCuh6WL0M4nIWQIyzqixdfKU1koFDKvyCA8NJMzU4xiD+b4kfHRpsIyKc6hBwjVptFHVY51EMAINNDFGJITKDNQcdpX74Hz0CQ3rY5qwMp4EIxrlafzrsYZ2Veb0DkRgfNCUok4Y1fqEijfyi2b8RE9beWqa48Y/uvCNMcH9btfUi+/CGLR1vhL6Zz9N/vBlaCU+7lwY/cmJ67Ryen/2tj23PLqJBodZH8vgj544vOL4pxfI5acrSFxi8hrkU9TSKr78ZpnL50A8KPJJEo+afBblwyqf5j/iGys5j6ScrST2AAAAAElFTkSuQmCC"
}
},
{
"name": "Reminders",
"type": "appleScriptTitledButton",
"source": {
"inline": "tell application \"Reminders\"\r\tset activeReminders to name of (reminders of list \"Work\" whose completed is false)\r\tif activeReminders is not {} then\r\t\treturn first item of activeReminders\r\telse\r\t\treturn \"\"\r\tend if\rend tell"
},
"action": "appleScript",
"actionAppleScript": {
"inline": "tell application \"Reminders\" to activate"
},
"image": {
"base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABYlAAAWJQFJUiTwAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpMwidZAAATJ0lEQVR4Ad1ba2xcx3U+9+6Lu3xTosSXSL0li3LcVLGiOjasWJERKw3qtpALpClQIEV+tDGaHy0QtAWsoAbaH21awGjRuC0CtAUKWLGturWSOHasxG0kWZJl62FJlMglxV2S4pu7S+57b7/v7p7V5XJ3uZTc1u4RhnPvmZkz5ztzZs7M3JXIJ4wsyzKYPmFqr13dAlDz7bffduNZk+mURD7eP9HGsEcTQFwOkHyuCOr8+fOBS5cutToNIceOLTPMsrKPwwsBIZlIy4BW0+3nV6+23blz51NzkcjTkUjkW4uLi99bisf/Mx5PjKZSqcmFhYUP33zrrb+GjHWUc+zjYIQKQKuNjuv69etdEzMzBwDoq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KYsV2qStq+9L5yXLniGo9GI9A7RGNRKIyNzdnj2goHHKN4oPsUHBIrl27JmfPvKtNmMfw5Wly+7YtIfxeaNjvrxvCoSoIWaMIzxPDV65MT8Ri8/v27ZMLFy5wTpYFT0FrmwJo4NhTX3/5lVcPP/t7v5vDAuZieCLpiCpg8qAYQxtAJuw5iv8fZM3Mzghul8yxcNge0aGhIbly9bJc+/AGmyjN1tc3TGza1Ht7//79QVzGDkHuCPoI4SZocnZ2ZP7ChQF+dUHoKX6MMA4ePCiPtbfzV+OIy9VpzQbgmQCC5dChQ2/8/rPfeBa/FDF+9emnc/ihosnpwA+WS/ElKxaN2fNzamrKINBwOGyM3B4xBgcH5ey7/yWxSFI1o/LTHR2dYxs2tI888sgjQRh0CLJGwB+DsaZv3rwZvX59Hr/FE+do2kA7OnYI/r8AdVI3t06dOoWqtdGapwDFFlZUz4EDB/7hzJkzv/nFp74ojz76Ocvn9Rn8TSEWIrl5c0A+eP+yU4tFj8c71dvbF4Kx4Lb+IfwXoiCAjmYyS/DY1My5c+cW0YCW0ZGzQVIIQdL4hVBW0aVZdy10TwYodEDvacOI/dHk5NRv3bp1k9/jSHNdXV13WlvbbtfXB4IECrcdBj+MKXBnZmZmfmBggJuBFW4L3v8YUMouR/djALalEVz79j24IxBo4bc4nhInMD+n4OoR/MS2rNtSkVK3Je//gu7HALa+WHDchTmncdbkIkQqcVuyPjLXpbCPG9GY923Qjxuo//f6/Dfl2Z84+8qxBgAAAABJRU5ErkJggg=="
},
"refreshInterval": 10
},
{
"type": "pomodoro",
"align": "right",
"bordered": false
},
{ "type": "currency", "from": "GBP", "to": "USD", "bordered": false, "align": "right" },
{ "type": "currency", "from": "GBP", "to": "RUB", "bordered": false, "align": "right" },
{
"type": "weather",
"align": "right",
"icon_type": "images",
// 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.
"api_key": "api_key",
"bordered": false
},
{
"type": "play",
"align": "right",
"bordered": false
},
{
"type": "inputsource",
"align": "right",
"bordered": false
},
{
"type": "battery",
"align": "right",
"bordered": false
},
{
"type": "timeButton",
"formatTemplate": "dd HH:mm",
"align": "right",
"bordered": false,
"action": "shellScript",
"executablePath": "/usr/bin/pmset",
"shellArguments": ["sleepnow"]
}
]