You are not logged in.
Pages: 1
Is it possible to use different override .css files for different panels?
I've used GTK inspector, and it seems that panels don't have IDs (names), and are selected only by classes. Is there any way to use separate CSS rules for separate panels?
Offline
Hello and welcome to the forum!
Unfortunately, I can't answer your question properly, but I'd guess you can, since the panels are numbered 0-1-2-etc in xfconf. Check it with this command:
xfconf-query -c xfce4-panel -p /panels
Info taken from this thread: https://forum.xfce.org/viewtopic.php?id=8619
Offline
Thank you for the prompt response!
I went through that thread, and yeah the panels are individually identified by xfce, but I guess there's no way for the gtk engine to access them by ID.
Since the gtk inspector didn't show anything, I tried to guess some IDs based on the xfconf results (like
#xfce4-panel-2
), but to no avail.
Still, thank you for providing a starting point. I will look in that direction and see if something can be done.
Offline
Good luck!
I tried some searches in the forum but came out empty, but there are some tweakers in the forum that can help, let's hope they take a look at the problem too.
Please report any advances you make, or any other relevant info, seems like an interesting topic!
Offline
Unfortunately, because there is no GTK3 style/ID differentiator between different panel instances, there is no way to direct separate CSS for panel instances. When it comes to theming, all panel instances are treated the same.
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
I see, thank you for confirming it.
Offline
Pages: 1
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 534.17 KiB (Peak: 535.02 KiB) ]