You are not logged in.
I'm trying to theme my xfce4 panel and need a wifi indicator, all other systray icon are themed but `nm-applet` is not themed so I opted to use wavelan plugin but it's the same for it
I tried opening using GTK_DEBUG = interactive xfce4-panel and these are the classes and names shown
when using these class/id no changes are shown(?)
this is what I tried for wavelan
#wavelan-5 {
background-color: #0f0;
padding: 0px 6px;
font-size: 10px;
}
and I don't see any class/id for nm-applet button so I am not sure what to do about it
Last edited by greed (2023-10-18 11:47:40)
Offline
Hello and welcome.
nm-applet is a tray icon and as such, it can't be directly themed. Its presented as produced by the application using the current icon them or fallback icons. You can use a different icon by overwriting or bypassing the one provided by the app/icon theme.
wavelan doesn't expose many classes as you can see, but it is tweakable. If you're trying to affect the icon, then also target the image widget (for example):
#wavelan-5 box image {
background-color: yellow;
color: red;
padding: 0px 6px;
}
Last edited by ToZ (2023-10-18 10:04:18)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for the reply. That helped a lot but how do I reduce the size of icon?
if I give it a padding/margin it doesn't reduce the size or am I missing something?
and giving a padding to the box just cuts the icon
Last edited by greed (2023-10-18 10:27:12)
Offline
You can use:
-gtk-icon-transform: scale(0.5);
Adjust the scale factor to suit.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks
Offline
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 533.81 KiB (Peak: 534.66 KiB) ]