Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.03 KB

URLScheme.md

File metadata and controls

38 lines (23 loc) · 1.03 KB

URL Scheme

The BitBar app registers the custom URL scheme bitbar://. The following paths are currently implemented:

openPlugin

Query parameters:

  • src Source URL

Examples: see test page

refreshPlugin

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.

screenshot

  • pluginPath Plugin path
  • dst Destination path, png extension
  • margin Optional spacing in pixels