yuezk / GlobalProtect-openconnect

A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.41k stars 157 forks source link

[Feature Request] monochrome / symbolic system tray icons #341

Open PilotBob42 opened 7 months ago

PilotBob42 commented 7 months ago

Lifetime licensed user here, love this project! It has helped me stay free of Windows even when I'm on my remote-office / work-from-home days.

I have a request that is purely aesthetic in nature, I was wondering if it would be possible to have a monochrome / symbolic system tray icon option in the app? As you can see below, GlobalProtect-openconnect is the only app in my tray that has color. Was hoping for a monochrome systray option for those of us that like the minimalist look.

image

yuezk commented 7 months ago

Hi @PilotBob42, I would like to improve this. Which theme are you using? So that I can test it.

PilotBob42 commented 7 months ago

What you're looking at in the partial screen shot there is Mint-L-Dark (the "L" is for legacy), but that theme is specific to Linux Mint. If you want to be distro independent then I'd model a symbolic icon around the ePapirus theme. Here is my same system tray under that theme. As you can see, under that theme I have another tray icon "unthemed" though.

image

https://github.com/PapirusDevelopmentTeam/papirus-icon-theme

yuezk commented 7 months ago

I will investigate and make the tray icon themable.

yuezk commented 7 months ago

In 2.1.3, I added an option to use the symbolic tray icon. I'm not good at icon making, the default symbolic icon is a grayscale of the colorful icon. But the tray icon is now themeable by installing an icon named gpgui-connected-symbolic.png.

image