Here we collect cool touch bar presets for MTMR. Feel free to send your own configs in pull-requests. Do not forget to attach a screenshot (β§β6) and write some description to this README.
Widgets:
- NightShift, DnD, Reminders, Pomodoro, Currencies, Weather, Play, Input, Battery, Time (tap for sleep)
Customs:
- Show video in PiP (for Safari only)
- iTunes like the track
- iTunes favorite the track
- iTunes what is play, tap for next and long for prev track
- Spotify shuffle
- Spotify what is play, tap for next
- Thanks to the above presets spaniakos preset is an all in one preset solution with different bars embeded into one master.
- Main: Escape, native touchbar, running apps, Spotify with two-finger volume and three finger brightness control, Media/$$/Info sub bars, language change, battery%, sleep, time (only time 24H format),
- Media bar: Brightness, mute, volume control, spotify control.
- Crypt bar Various Crypto values preset, Some are in $ and some in β¬
- Info: weather info, CPU, disk, Network meter, DnD (Do not Disturb), Day/Night mode, Countdown timer (tomato) , language selection , battery % date with day, month , time (12H format), AM/PM
- Battery, CPU, Network, (reserved for disk activity), Music Prev, Music Play/Pause, Music Next, Music Track, Sound volume down, Sound slide, Sound volume up, Input language, Screensaver
Only two custom things here (and an icon for the battery) :
- CPU button is more based on what you can see in Activity Monitor. You must copy the AppleScript file cpu.scpt to the folder : /Users/Shared/MTMR/
- The last button "power lock", simply start the screensaver (and lock the current session). I prefer that than a full sleep or a sleep display. Now, i'm seeking for a disk real-time activity button.
The brightness and volume slider icons are from @Frityet preset.
Default
- Esc key
- Back to system Touch Bar
- Expand
VNC
sub group - Expand
Media
sub group - Expand
World
sub group - Local date & time
- Battery usage
- Mute/Unmute
- DND (Do Not Disturb); long press to sleep
- PgUP / PgDn keys
- Home / End keys: Send MacOS β + β or β + β events; long press to send key code.
- Del key
VNC
-
Esc key
-
Back to default layout
-
F1 ~ F8 keys
-
Local time; long press to sleep
-
PgUP / PgDn keys
-
Home / End keys: Send key code; long press to send MacOS β + β or β + β events.
β οΈ Different with the default behavior. This behavior is optimized for remote control Windows/Linux systems. -
Del key
Media
- Esc key
- Back to default layout
- Keyboard illumination down/up
- Screen brightness down
- Screen brightness slider
- Screen brightness up
- Mute/Unmute
- Volume down
- Volume slider
- Volume up
- Local time; long press to sleep
- Battery usage
- Previous track
- Play/Pause
- Next track
World
- Esc key
- Back to default layout
- Shanghai data & time
- Other countries/cities
- It's minimalistic and low CPU preset
- Thanks to the above presets for inspiration and @darkomen78 for cpu.scpt which I reused here
- Create /Users/Shared/MTMR/ folder and drop there spotify.scpt from here
- If your main music player is not Spotify, you can get some scripts inspiration from here for example
Features
- Click on music player string stops/resumes current track, long click brings up Spotify window
- You can see some random Emojis there, just for fun :)
- Click on Weather opens up weather site, currently Yandex.Weather (you can change to yours)
- CPU meter changes color based on load. Click on CPU usage opens up Activity Monitor
- Click on currency (EUR/RUB pair) opens up business website, currently rbc.ru (you can change to yours)
- NightShift button
- No brightness or volume buttons there because you can use built-in two/three-finger slide gestures on bar for that
Main:
- esc key
- crypto menu (see below)
- keyboard light intensity - and +
- weekday, date and time (12H)
- volume controls
- current weather (create your own API, instructions are on the main page)
- charge level (FYI: if you are not charging the battery, it shows how many hours you can use the computer on battery)
- "x" - for exiting the preset
- del key
Crypto menu:
- BTC to USD
- ETH to USD
- BCH to USD
- XLM to USD
- LTC to USD
- EOS to USD
If you click any of the crypto prices, this will redirect you to the corresponding currency's cryptowat.ch chart.
Widgets:
- Escape, ExitMTMR, Brightness, PlayButton (iTunes), Volume, network, CPU-Load, sleep, battery
Features:
- When paused there is a resume button integrated in the line.
- When playing there is a pause button integrated in the line.
@metasean preset & randomQuotes script
Widgets:
- Weather, brightnessDown, brightnessUp, random quote display, (single quote display), volumeDown, volumeUp, sleep
Includes a shellScriptTitledButton filePath script to generate a random quote in a random foreground color, as well as an example of an inline script to display a single specific quote.
Left:
- esc key
- doc
- show desktop (apple script)
- spotify
Right:
- Mute
- Vol Down
- Vol Up
- Bright Down
- Bright Up
- Play/Pause
- Wheather (30 min update)
- Time in my native country
- invisible touch bar for less distraction when watching videos etc.
- small button on the left: lock mac
- three big buttons in the center for spotify: previous, play/pause, next
- small button on the right: mute audio
- enable gestures for brightness/volume
Left:
- Esc key
- Exit MTMR
- Finder (home path)
- Sublime text
- Note
Center:
- YouTube playing (safari)
- VK music playing (safari)
- Reminders. Show a random incomplete reminder
Right:
- Weather
- Lock Screen
- Vol mute
- Vol down
- Vol up
- Play/pause
- Time
Pay attention to these variables at the start of the apple script which you'll need to personalise for this to work:
set plexUrl to "YOUR.PLEX.URL.OR.IP.COM" (Your plex URL - domain/IP only, no https:// or port etc)
set plexToken to "YOUR_PLEX_TOKEN" (https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/)
set playerName to "PLAYER_ID_FOR_COMPUTER_MTMR_IS_USED_ON" (It's important to set a player name so that the currently displayed music is that which is playing on your touchbar mac, not some other device. The player name can be found by visiting http://YOUR_PLEX_URL:32400/status/sessions?X-Plex-Token=YOUR_PLEX_TOKEN in a browser while music is playing. In the "<Player" section of the XML output, look for a "title" attribute which shows the name Plex is giving your computer. Alternatively, in Plex settings view Authorised devices and copy the name from the top of the relevant entry)
Touching the plex display on your touch screen will focus the Plex Media Player app, if you're using it. If you're using plex in a browser, maybe consider installing the app instead.
Hopefully someone finds this useful. If there are any bugs or improvement that can be made to my apple script or anything, please let me know!
- Exit, Esc, Eject, Music, Weather, Battery, Pomodoro, DateTime, volumeDown, volumeUp, Mute, Screenshot
- Eject: eject all external drivers and notifications
- Music: Show app icon, show the singer and song name that is playing, click Pause or resume, long and hold the next song
- Battery: Long press and hold show Activity Monitor
- DateTime: Show full date timeοΌPress and hold Show Calendar app
- Screenshot: Click the Show screenshot, press and tap direct full screen screenshot.
- Esc
- Beast (Dev) Mode
- App Dock, Spotify
- Music Control
- Volume Control
- Battery
- Usefull Options
- Time & Block Mac
-
Close mode
-
VSC activator
-
Git Kraken activator
-
Workbench activator
-
Hyper Term activator
-
Jira Atlassian open in chrome
-
Jenkins open in chrome
-
AWS Console open in chrome
-
New window of active App
-
Select multiple coincidence on VSC (CMD + D shortcut)
-
Comment selected lines (CMD + shift + 7 shortcut)
-
Search -> click: search on file (CMD + F shortcut); hold: search on complete project (CMD + shift + F shortcut)
-
Run command VSC -> click: search by file name and complete posibilities (CMD + P shortcut); hold: run command (CMD + shift + P shortcut)
-
console VSC -> click: Toggle console (CMD + key 33 shortcut); hold: new console (CMD + shift + key 33 shortcut)
- esc
- kill current app
- illumination controls
- bightness controls with slide
- Volume controls with slide
- Tab Navigator for multitab Apps (ex. Chrome, VSC)
- Current App Setting Shortcut
- Full screen (hold) then at full screen click for 'super' full screen (tested on Chrome only)
- CPU %
- close mode