You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set the variable as documented: <xbar.var>string(VAR_NETWORK_INTERFACE="en0"): The interface to track (Usual interface for MacOS wifi is en0)</xbar.var>
Then closed and reopened xbar, and browsed to to Plugin Browser.
It did show successfully:
However, 001-bandwidth.1s.sh.vars.json was not created and the variable was not passed in to the plugin.
(Verified by echoing ${VAR_NETWORK_INTERFACE})
I had to change the value in xbar before it created 001-bandwidth.1s.sh.vars.json then change it back to en0 to track the proper interface.
The text was updated successfully, but these errors were encountered:
Hey @Joshfindit thanks for reporting this, I think you found a bug where default values weren't being used unless you explicitly change them. Will look now.
When modifying the
Network/bandwidth_primary.1s.sh
plugin (matryer/xbar-plugins#1566)I set the variable as documented:
<xbar.var>string(VAR_NETWORK_INTERFACE="en0"): The interface to track (Usual interface for MacOS wifi is en0)</xbar.var>
Then closed and reopened xbar, and browsed to to Plugin Browser.

It did show successfully:
However,
001-bandwidth.1s.sh.vars.json
was not created and the variable was not passed in to the plugin.(Verified by
echo
ing${VAR_NETWORK_INTERFACE}
)I had to change the value in xbar before it created
001-bandwidth.1s.sh.vars.json
then change it back toen0
to track the proper interface.The text was updated successfully, but these errors were encountered: