matryer / xbar

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

href= not working? #896

Open ethaniel opened 11 months ago

ethaniel commented 11 months ago

Monterey 12.6.7 here, xbar 2.1.7-beta. I have the following code:

echo "Admin requests: $CNT | href=https://url | color=red"

It displays correctly:

image

But when I click on it, the browser doesn't open, and instead I get the xbar menu:

image

Bug?

moritztim commented 5 months ago

It's currently not possible to have an action happen when you click the menu bar icon. You have to add a menu entry to do this:

echo "Admin requests: $CNT"
echo "---"
echo "Open url | href=https://url"

Related: #910