gabe565 / nightscout-menu-bar

🩸 Display live blood sugar data from Nightscout in your system menu bar
MIT License
19 stars 3 forks source link

Icon vs Information in top menu #78

Open mtomlinson opened 2 months ago

mtomlinson commented 2 months ago

Hi, is it possible to have the tray icon be the actual last reading from the system (Nightscout) rather than a Nightscout Icon that I need to click before I see the reading?

I love this menu-bar, I just want to be able to glance at the title bar (tray icon) directly and see my sugars while I am using my computer, rather than clicking the Nightscout icon to see it.

Thank you for your work on this tool (I am running the Linux version)

image

gabe565 commented 2 months ago

@mtomlinson Unfortunately, macOS is the only OS that actually shows tray titles directly in the bar instead of just showing the icon.

To work around this, I have a branch where I've added support for dynamically rendering the icon. Just doing some final performance improvements and it should be ready! 🙂

gabe565 commented 2 months ago

@mtomlinson Ok I went ahead and opened a PR for this. If you get a chance, could you test with a build artifact from that PR? I worry the icon will be too small on Linux, but I'm curious to see what it looks like!

gabe565 commented 2 months ago

@mtomlinson Dynamic font sizing is implemented, updated build is here

mtomlinson commented 2 months ago

Hey @gabe565, thank you the last reading is now there, and great!

I might be stretching the friendship now, but Is it possible to have the all the detail from the top menu item? I also use this menu-bar on the Mac and that is how that one is displayed.

If that would be possible great, if it is not possible, I wanted to thank you regardless as it is heaps better like this.

image

gabe565 commented 2 months ago

@mtomlinson I'm glad it's at least a little bit better!

I'm not sure what else can be done to make the full text show up. There's nothing else that can be changed within the app, but your desktop environment may have configuration or an extension that can change this. Which DE is that?

mtomlinson commented 2 months ago

Thank you

I am running Gnome 42.9 on Unbuntu 22.04.4 LTS