Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling tray icon color with gtk.css #203

Open
Ayman29996266 opened this issue Nov 5, 2024 · 1 comment
Open

Styling tray icon color with gtk.css #203

Ayman29996266 opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Ayman29996266
Copy link

Hey, I'm not sure if I can call it a bug, I just found out I can't style the tray icon color with my css file like I usually do with other status notifiers like telegram, pipewire or blueman..
I usually assign them a symbolic (monochrome) icon and let a script style them every now and then. But this icon just doesn't seem to change color at all.. All other properties are fine as far as I tested.

The icon should change it's color to match the other icons as in this screenshot:

Screenshot_2024-11-05_20-33-31

Thunderbird 128.4.0-1 ( repository package installed with pacman )
SysTray-X 0.9.10

My device:
HP Zbook / 64 bit architecture.

I use:
Arch Linux ( 6.11.6-arch1-1 )
X11
GTK 3
XFCE4
XFCE4-panel.
The css file I use for styling is in: ~/.config/gtk.3-0/gtk.css
example css code to style the icons color:

#sn-button image {
  color: red;
}

NOTE: To see the changes you make in the css file you need to refresh the xfce panel with this command: xfce4-panel -r

Thank You !!

@Ayman29996266 Ayman29996266 added the bug Something isn't working label Nov 5, 2024
@Ximi1970
Copy link
Owner

I am using Qt for the icon and have no css styling build in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants