matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.59k stars 642 forks source link

What is the plugin path for xbar://app.xbarapp.com/openPlugin?path= #749

Open joshmkennedy opened 3 years ago

joshmkennedy commented 3 years ago

Im having trouble getting the xbar url to trigger the openPlugin to work.

This is the value I put for href: xbar://app.xbarapp.com/openPlugin?path=/Library/Application\ Support/xbar/plugins/moon-phase.1h.js

Currently this just opens the plugin browser and renders the sidebar, and everything else is blank

What should the correct path be to open the plugin in the app?

joshmkennedy commented 3 years ago

Sometimes I get the error message: Something went wrong, this: invalid character '<' looking for beginning of value

matryer commented 3 years ago

@joshatoutthink the path parameter is the name of the plugin.

Does this work:

xbar://app.xbarapp.com/openPlugin?path=moon-phase.1h.js
barabo commented 2 years ago

I have the same problem with a python plugin. I haven't been able to figure out a path parameter that works.