Simplifies BitBar app plugin creation
Create your plugin using a nice API instead of having to manually construct a big string.
Requires BitBar 1.9 or higher.
$ npm install --save bitbar
#!/usr/bin/env /usr/local/bin/nodeconst bitbar = ;;
Create a file with the above code in the BitBar plugins directory and make sure to
chmod +x filename.js it. Read more.
/usr/local/bin/node to the path of your Node.js binary. This is a known issue in BitBar.
An item can be a string with the text or an object with the text in a
text property and any of the
options. The text can be multiple lines, but for the first item, only the first line will be shown in the menubar.
It will add a submenu to the current item. A submenu is composed by an array of items.
You can use any of the supported options.
Applies to all items unless overridden in the item.
Add a separator.
Returns a boolean of whether macOS Dark Mode is enabled.
MIT © Sindre Sorhus