matryer / xbar

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

href= not working? #896

Open ethaniel opened 1 year ago

ethaniel commented 1 year 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 9 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