From c6c808369f77c9387c580cd03d456afe98ad8186 Mon Sep 17 00:00:00 2001 From: Toxblh Date: Wed, 22 May 2019 22:44:01 +0100 Subject: [PATCH] Edited Readme. Also updated paths --- README.md | 62 +++++-------------------------------------------------- 1 file changed, 5 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 250be5e..4fd8a4b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ My idea is to create a platform for creating plugins to customize the TouchBar. **Share your presets [here](https://github.com/Toxblh/MTMR-presets)**

- Size Limit CLI + Mackbook with touchbar

[ Discord](https://discord.gg/CmNcDuQ) @@ -46,66 +46,14 @@ My idea is to create a platform for creating plugins to customize the TouchBar. - [aadi_vs_anand preset](Resources/aadi_vs_anand.json)

- Size Limit CLI + Presets for touchbar

-## Customization +## Customization -MTMR preferences are stored under `~/Library/Application\ Support/MTMR/items.json`. +MTMR preferences are stored under `~/Library/Application\ Support/MTMR/items.json`. -The pre-installed configuration contains more than you'll probably want, try the following instead: - -``` -[ - { "type": "escape", "width": 75 }, - { "type": "exitTouchbar", "align": "left", "width": 48 }, - { "type": "brightnessDown", "width": 50, "align": "left" }, - { "type": "brightnessUp", "width": 50, "align": "left" }, - { - "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": 1, - "image": { - "base64": - "iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTB3WXx3UXh3VXx7XYBkXFRpVLRyURmIaeAQAAAAEdFJOUwDDO3fSqUUkAAABbklEQVRIx61VbW6DMAztoAeYNA7ApB6gkzhAWS24wIAL0HABaK6/pHFNEhy8TXu/kPzkPD/8cTj8K7KPAqB+K5NhQPCUrABCXe7HOUYYZxgVRLiG8RfY4DUgFFtC7cffAfZTFBwBdhWEKfgEq4ocEjgj4ZQifO6/QG9kkETp1dDeVWfRKx3XYSW0LoqY5kCElXDrQkyeCCuh6WL0M4nIWQIyzqixdfKU1koFDKvyCA8NJMzU4xiD+b4kfHRpsIyKc6hBwjVptFHVY51EMAINNDFGJITKDNQcdpX74Hz0CQ3rY5qwMp4EIxrlafzrsYZ2Veb0DkRgfNCUok4Y1fqEijfyi2b8RE9beWqa48Y/uvCNMcH9btfUi+/CGLR1vhL6Zz9N/vBlaCU+7lwY/cmJ67Ryen/2tj23PLqJBodZH8vgj544vOL4pxfI5acrSFxi8hrkU9TSKr78ZpnL50A8KPJJEo+afBblwyqf5j/iGys5j6ScrST2AAAAAElFTkSuQmCC" - } -}, - { "type": "previous", "width": 50, "align": "right" }, - { "type": "play", "width": 80, "align": "right" }, - { "type": "next", "width": 50, "align": "right" }, - { - "type": "volumeDown", - "bordered": false, - "align": "right", - "width": 25, -}, -{ "type": "volume", "width": 120, "align": "right"}, -{ - "type": "volumeUp", - "bordered": false, - "align": "right", - "width": 25 -}, - { "type": "displaySleep", "width": 40, "align": "right", "bordered": false }, - { -"type": "pomodoro", -"bordered": false, -"align": "right", -"workTime": 1200, // set time work in seconds. Default 1500 (25 min) -"restTime": 600, // set time rest in seconds. Default 300 (5 min) -}, - { "type": "weather", "refreshInterval": 60, "units": "metric", "align": "right", "bordered": false, "api_key": "84645702688e83a35e2549ca77f73369"}, - { "type": "timeButton", "align": "right", "formatTemplate": "MMM d", "bordered": false } -] -``` +The pre-installed configuration contains less or more than you'll probably want, try to configure: ## Built-in button types: > Buttons