Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

href= not working? #896

Open
ethaniel opened this issue Jul 23, 2023 · 1 comment
Open

href= not working? #896

ethaniel opened this issue Jul 23, 2023 · 1 comment

Comments

@ethaniel
Copy link

ethaniel commented Jul 23, 2023

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
Copy link

moritztim commented Feb 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants