Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-12-23 18:07:22

drakinosh
Member
Registered: 2020-12-23
Posts: 3

Separate themes for panels

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

#2 2020-12-23 19:18:27

alcornoqui
Member
Registered: 2014-07-28
Posts: 786

Re: Separate themes for panels

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

#3 2020-12-23 19:26:38

drakinosh
Member
Registered: 2020-12-23
Posts: 3

Re: Separate themes for panels

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

#4 2020-12-23 19:47:29

alcornoqui
Member
Registered: 2014-07-28
Posts: 786

Re: Separate themes for panels

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

#5 2020-12-23 20:48:24

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,557

Re: Separate themes for panels

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.

Offline

#6 2020-12-23 21:32:06

drakinosh
Member
Registered: 2020-12-23
Posts: 3

Re: Separate themes for panels

I see, thank you for confirming it.

Offline

Board footer

Powered by FluxBB