@Martin;
Thank you so much for your efforts!
Something I would really appreciate to use, thanks!
I tried running your tool with the latest version of BitBar, nowadays called XBar? (v2.0.42-beta) but this version supposedly has a bug that it does not allow for a space in the folder-name. 🙁
And on my macOS Mojave, this version of BitBar always points to the folder “/Users/{username}/Library/Application Support/xbar/plugins” where thus the “Application Support” is the culprit for that current version of XBar.
But running the unmodified script you have supplied also throws some (for me) cryptic errors already, see attached screenshot.
May I ask what version of BitBar (and/or XBar) I can best run to use this?
Thanks!