Timac / VPNStatus

VPNStatus, a replacement for macOS builtin VPN Status
https://blog.timac.org/2018/0719-vpnstatus/
MIT License
221 stars 31 forks source link

Changing menu bar icon #18

Closed a-rock-lobster closed 4 months ago

a-rock-lobster commented 2 years ago

Hullo,

Thanks for sharing VPNStatus.

I've been trying to locate where the app keeps the menu bar icons stored. I wanted to change them to something a bit more in keeping with the black and white menu bar theme, but as there aren't any image files in the typical places I haven't been able to.

Perhaps someone could point me in the right direction?

Thanks again,

Timac commented 2 years ago

Hey @a-rock-lobster , Thanks for using VPNStatus!

The images are located in the Asset Catalog that you can find at https://github.com/Timac/VPNStatus/tree/master/VPNStatus/Assets.xcassets

For example you can find the green On icon at https://github.com/Timac/VPNStatus/blob/master/VPNStatus/Assets.xcassets/VPNStatusItemOnImage.imageset/VPNStatusItemOnImage%402x.png

If you want to change the icon, I would suggest to:

Hope this helps, Alexandre

Timac commented 4 months ago

@a-rock-lobster You can now set black and white menu bar images in the preferences window in VPNStatus 3.0: https://github.com/Timac/VPNStatus/releases