1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-11 17:38:38 +00:00

Compare commits

..

No commits in common. "44732e8ad68a4c02f142e8b73a0249856a7fbdfd" and "3add660d72d07a05c397e25c223b9d8c2bd235ac" have entirely different histories.

View File

@ -27,7 +27,7 @@ My idea is to create a platform for creating plugins to customize the TouchBar.
## Installation
- Download latest [release](https://github.com/Toxblh/MTMR/releases) (.dmg) from github
- Download lastest [release](https://github.com/Toxblh/MTMR/releases) (.dmg) from github
- Or via Homebrew `brew install --cask mtmr`
- [Dario Prski](https://medium.com/@urdigitalpulse) has written a [fantastic article on medium](https://medium.com/@urdigitalpulse/customise-your-macbook-pro-touch-bar-966998e606b5) that goes into more detail on installing MTMR
@ -159,7 +159,7 @@ You may create as many `swipe` objects in the preset as you want.
```
> Note: appleScriptTitledButton can change its icon. To do it, you need to do the following things:
1. Declare dictionary of icons in `alternativeImages` field
1. Declarate dictionary of icons in `alternativeImages` field
2. Make you script return array of two values - `{"TITLE", "IMAGE_LABEL"}`
3. Make sure that your `IMAGE_LABEL` is declared in `alternativeImages` field
@ -274,7 +274,7 @@ To close a group, use the button:
"type": "weather",
"refreshInterval": 600, // in seconds
"units": "metric", // or imperial
"icon_type": "text", // or images
"icon_type": "text" // or images
"api_key": "" // you can get the key on openweather
```
@ -351,15 +351,15 @@ To close a group, use the button:
#### `upnext`
> Calendar next event plugin
Displays upcoming events from macOS Calendar. Does not display current event.
> Calender next event plugin
Displays upcoming events from MacOS Calendar. Does not display current event.
```js
{
"type": "upnext",
"from": 0, // Lower bound of search range for next event in hours. Default 0 (current time)(can be negative to view events in the past)
"to": 12, // Upper bounds of search range for next event in hours. Default 12 (12 hours in the future)
"maxToShow": 3, // Limits the maximum number of events displayed. Default 3 (the first 3 upcoming events)
"maxToShow": 3 // Limits the maximum number of events displayed. Default 3 (the first 3 upcoming events)
"autoResize": false // If true, widget will expand to display all events. Default false (scrollable view within "width")
},
```