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

Plugin with Multiple Files in a Folder? #791

Open chrisspiegl opened 3 years ago

chrisspiegl commented 3 years ago

Hello everybody, I am relatively new to xbar and wondered if it is possible to create plugins which are stored in a folder?

Main point being that the plugin would include image files / maybe a node_modules folder and such and I would prefer not to clutter the main xbar/plugins folder with those.

I tried looking for this but without luck to this point. Hopefully someone here can point me in the right direction?

matryer commented 2 years ago

Hi @chrisspiegl - this isn't currently supported, but we had an idea to do it with a zip file.

chrisspiegl commented 2 years ago

Would it be necessary to create a zip file other than for the download itself? It feels like too much complications instead of just having a folder with let's say an extension ala my-plugin.xbarplugin?

Similar to an Alfred Workflow?

These could then also be easily ignored by the current setup making it somewhat backward compatible?