xbarapp.com/articles/2021/03/13/Upgrade-legacy-BitBar-plugins.md
xbar (the BitBar reboot) has shipped, and you might want to upgrade your BitBar plugin.
Your plugin will run in xbar without any changes. However, there are a few tweaks you should make and one or two shiny new features to look at.
<bitbar.*> tags to <xbar.*>shell parameter instead of bashparamN parameters you can useVariables are defined in your plugin's metadata. The xbar UI lets users configure the values without editing your script.
xbar lets you specify keyboard shortcuts for your menu items.
Use the key parameter:
Let's go | key=shift+g | href=https://xbarapp.com/
You can specify a range of modifiers and special keys, for a full list check out the Parameters documentation.
xbar is still brand new, so please help us reach a full release by reporting any issues you find.