An open API service indexing awesome lists of open source software.

https://github.com/rknightuk/touchbarwidgets

Scripts for my BetterTouchTool Touch Bar widgets
https://github.com/rknightuk/touchbarwidgets

Last synced: 3 months ago
JSON representation

Scripts for my BetterTouchTool Touch Bar widgets

Awesome Lists containing this project

README

        

## TouchBar Customisations and Script

![](_img/enabled.png)

![](_img/disabled.png)

### Setting Up BetterTouchTool

To always show BetterTouchTool set the TouchBar settings to the following:

![](_img/btt-settings.png)

To toggle between BTT and the default TouchBar, go to Keyboard > Add New Shortcut and set the FN key (or whatever you want) to "Toggle BetterTouchTool Touch Bar".

### Widgets

Widgets on BetterTouchTool have two parts: the output and the action. The output shows data from an AppleScript and the action triggers an action (like playback controls).

- Caffeine
- [`caffeine/status.applescript`](caffeine/status.applescript) for showing the status. Activate disabled icon on "`Inactive`"
- [`caffeine/toggle.applescript`](caffeine/toggle.applescript) for the action to toggle
- iTunes/Spotify
- `nowplaying.applescript` to show now playing. Activate alternate icon on `iTunes/Spotify`
- Media Controls
- *NB: Relies on [BeardedSpice](https://github.com/beardedspice/beardedspice) to trigger media controls*
- [`playback/playpause.applescript`](playback/playpause.applescript) for the play/pause button display. Checks against iTunes and Spotify.
- [`playback/control.applescript`](playback/control.applescript) for triggering controls
- VPN
- [`vpn/status.applescript`](vpn/status.applescript) to show status. Set `VPNName` to name of VPN from network settings