Author: Kenton Kwok
xbar is a project that allows for the customisation of the macOS toolbar via obtaining the output of a script.
This project uses the TfL APIs to display the dock station availabilities at different Santander cycle docking stations in London. Users can customise which station to show in the script.
- xbar
- Python
- Install the latest release of xbar
- Put the shell inside the plugin directory at
~/Library/Application Support/xbar/plugins
- Make the script executable: run
chmod +x cyclTracker.3m.sh
in terminal - Ensure that python3 is installed with the
requests
module (sudo pip3 install requests
) - Use a text editor to change the stations you wish to display