The BitBar app registers the custom URL scheme bitbar://
. The following paths are currently implemented:
openPlugin
to download and install pluginsrefreshPlugin
to refresh pluginsscreenshot
to save plugin screenshots
Query parameters:
src
Source URL
Examples: see test page
Query parameters:
name
Filename, allowing wildcards.?
matches one character and*
matches zero or more characters
This allows for refreshing from the command line using open
, passing the URL.
For example by chaining it with a semicolon after a command when terminal=false
can't be used (full example).
Example:
bitbar://refreshPlugin?name=brew-updates.*?.sh
Here *?
was used to omit the time.
pluginPath
Plugin pathdst
Destination path,png
extensionmargin
Optional spacing in pixels