jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.06k stars 177 forks source link

How to create icon for the menu that changes white/black #206

Closed esseti closed 11 months ago

esseti commented 11 months ago

Hi all, how should I create the icon that goes in the menu bar so it adapts as the others? right now, the other apps (e.g. docker) is either white or black depending on the wallpaper.

image image

how can I do the same here? is that possible? or is there a format of icons that i should use?

mindaugasw commented 11 months ago

Set template argument when initializing the app: rumps.App(template=True).

See documentation: https://rumps.readthedocs.io/en/latest/App.html#rumps.App.template

knurl commented 11 months ago

As the previous post says, you need to use the template argument. This solved it for me. This issue should probably be closed.