In some discussions I recently had with members of this forum, I realised I had a different approach to the Touch Bar than many here.
So let me share this.
First of all: I see the Touch Bar as a keyboard extension, not as a second screen. My Preset will mostly show you buttons, and you'll always be able to trigger an action when you touch something you see. Some actions even have triggers, so if you push them for a longer moment, they do something else. As an example, the Safari icon can launch Safari, and if you press&hold it you get a preview of your currently open tabs. Select one of them, and safari will open up with this tab. Also, the scripts I use run mostly (mostly) only when they are shown - thanks to the fact that they are often own groups.
Also, my preset replaces the actual Touch Bar. You'll be able to switch between Apple's Touch Bar and this preset with a two finger force touch on your trackpad - at any time. To open the BetterTouchTool settings (the icon is not shown in the menu bar on the screen) just press and hold the System Actions icon (second from the right - will be there all the time). A Force Touch on the top left corner of the trackpad will restart BTT.
My Touch Bar is thought with the idea to always have a static "Dock" sticking to the right, that shows whatever happens. It gives you access to groups of ① the music or media player you currently use, ② your next calendar and reminder events, ③ some basic settings/System actions, as well as ④ an App Switcher (which, if used with ⌥ allows you to quit the apps you tap).
This is what the Basic TouchBar looks like.
As you see, on the right the groups mentioned above. Let's open up each of them.
① Media Control
The AirPods Widget on the left connects your AirPods and shows they current battery state. Find more information on how to set it up here. It's actually super easy.
Followed you have some scripts I got in collaboration from @yyuuiko or actually copied from his great AQT Preset. Yeah, shame on me… Check the BTT prefs to see how to set a song on pause, how to share it (this might not work for now), etc. If you use youtube or any safari video, QT/IINA, the iTunes script widget (because this is not the original BTT Widget, in order to give special actions for tapping the cover or the text) will disappear, and show you the title of what you're listening to.
Note Bene: press&hold the play/pause icon to bring up iTunes at any time.
In red, the events of today. If you click them, you'll get more events, the next 10 actually.
You have a pretty useless full time view, as well as a weather forecast. I need to know if the car will be wet…
③ System Actions
Basic stuff here. On the left, a super efficient language shell script @nikivi was asking for, showing you your current Spelling according to what you set in System Settings → Keyboard → Text. A big thanks to the mactechnews.de forum who basically wrote this stuff for me! If you tap it, another group will open, letting you select any other language of your choice. Attention, you'll have to add yours. Find the How to guide at the end of this description.
The wifi icons actually just pings google.com - and allows you to check if your wifi has also an internet connection. If it fails, the button turns red. The window icon gives you access to the window resizing options from bettertouchtool.
④ App Switcher
④ App Switcher (With ⌥ when you opened the group)
The left main strip is actually super personalised. The idea is that you can just put your most needed stuff here, apps, files, websites,… Mail will have a reddish background and show you the amount of unread mails on it's right if you have some. Same for messages.
The DuckDuckGo Icon will bring up a DuckDuckGo Launcher Floating WebView @CJK wrote for me. This bugs sometimes for any reason, so I added an (by default inactivated) launcher for Haste.
See that little black finder on the left side of the group? It sticks to the right too. For some applications (Finder, IINA, QT, BTT, Preview, Keynote, OneNote, Reminders,…) I entered special triggers. These are meant to not to interfere with your Global strip, that's why they are in this kind of groups. You'll wind a template group in the general option, so if you have an app you want to use special triggers for, just copy the folder to app-specific actions and you add inside whatever you want! Here's what the finder looks like.
You find the possibility of triggering the right clicks for cleaning up your desktop, using stacks (macOS Mojave only), showing the Library and hidden files, as well as the sharing options for a selected file.
Enpass is a cheat, as it will just permanently show you two options, one two lock your Vault, one to Unlock it with TouchID - it simulates mouse actions for this.
Of course we have a gaming mode!
Beyond this, I added some trackpad actions to see Mission Control, enter Fullscreen, Lookup the word under the curser, etc.
In order to make them work perfectly (on the right) I invite you to set your Trackpad settings to the ones shown on the left. Or to adjust my triggers
So here we are. My little preset. Once again, a big thank you @yyuuiko who helped me fixing parts, and made others run!
In order to make the gaming mode work, you'll have to install this iStats file from Github.
In order to get the Reminders and Calendar Widgets to work, you'll have to install iCallbuddy.
Before installing any preset, please open BetterTouchTool, select "Manage Presets" on the bottom left, and export all your Presets. Export Triggers&Settings when you're asked to!!! If anything happens during the installation of another preset (this should not happen, but still), you can go back to what you had easily by double clicking the saved file.
How to add other languages to the Spelling feature
With the Spelling language chosen in System Preferences → Keyboard → Text, open the terminal.
defaults read -g NSPreferredSpellServerLanguage
And press enter. Copy the result somewhere, as you'll need it later.
eg: if you selected Australian English in the settings, the terminal will show you en_AU.
In the BetterTouchTool window, go to TouchBar → Global → Language (in the "Subgroups" part, open the group) and duplicate one of the language Shell Scripts (⌘C, then ⌘V). It will appear somewhere up in the action list, move it back down to the language group.
Click the rack wheel on the low right corner (next to the execute Shell Script button). In my example, I duplicated the Italian Spelling. Replace it with the abbreviation you got from the terminal (step 1)
Ok, so now we have a new button! But the widget will show a if you added it like this. To fix this, go to TouchBar → Global → CS_FakeControlStrip (open the group) → "Shell Script/Task: Language" (the first one in the group). Double Click it to open it's settings. Copy one of the
elif [ $MULTI = it ]; then echo 🇮🇹
lines, and paste it below in order to have it twice. Replace now the language part with the result you got from step.
eg: This should look like this
elif [ $MULTI = en_AU ]; then echo 🇮🇹
Then, change the flag with any emoji of your choice. You should paste it from your clipboard, as you can't add special characters natively in BTT.
And that's it! Don't forget to hit save
HAVE A GREAT DAY EVERYBODY! Thanks for reading! Tell me what you think
The most important at the very end: Caliguvara.bttpreset (23.2 MB)