matryer / xbar

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

Support image URLs #905

Open rossburton opened 9 months ago

rossburton commented 9 months ago

I'm writing a plugin which shows GitLab pipeline/job status so I've often got ~200 nested menu items. Currently each job has a bad emoji for the status but I'd like to use the GitLab images directly.

If I base64 then I'm sending large amounts of data in every run because the images are repeated, and that also tends to crash xbar.

Would it be possible to support a URL for the image to display in the menu?

moritztim commented 5 months ago

In the meantime, consider using a nerd font. A lot of these icons are also supported by the macos UI font: https://www.nerdfonts.com/cheat-sheet