Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-12-13 08:15:35

qx4vv9a
Member
Registered: 2019-08-12
Posts: 26

adjust systray's arrow and button for hidden icons/apps

hi, i'm running xfce4-panel 4.14.4 and would like to adjust the color of the arrow and the button for hidden icons/apps inside the systray.

for better understanding:
systray-arrow.png - arrow at the right end of systray to show hidden apps.
systray-button.png - button to hide apps (marked as 'hidden' in properties) at the right end of systray.
what are the proper names of these elements to be tweaked in gtk.css?

thanks

Offline

#2 2020-12-13 11:43:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,046

Re: adjust systray's arrow and button for hidden icons/apps

There are no class names defined in that plugin, so you need to use the widget name. To get the widget name, hover over the item in Panel Properties > Items tab. It will be something like "systray-XX" where XX is a number.

Then you can use something like:

#systray-XX button { ..... }

...to access it.


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

#3 2020-12-13 15:09:30

qx4vv9a
Member
Registered: 2019-08-12
Posts: 26

Re: adjust systray's arrow and button for hidden icons/apps

thank you very much!

#systray-6 button { color: #e4e4e4; background-color: transparent; }
#systray-6 button:checked { color: #000000; background-color: #e4e4e4; }

works.

to resize the arrow:

#systray-6 button { -gtk-icon-transform: scale(1.5); }

is there an entire list of all elements for gtk.css tweaking?
i don't wanna disturb here and do it on my own.

thanks
Tim

Last edited by qx4vv9a (2020-12-13 15:51:56)

Offline

#4 2020-12-13 17:26:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,046

Re: adjust systray's arrow and button for hidden icons/apps

qx4vv9a wrote:

is there an entire list of all elements for gtk.css tweaking?

With GTK3, most all elements are tweakable. Use the inspector to see which ones and where they are.

Not all Xfce components are tweakable though. Most are, but not all. There is no complete list. Start with the Xfce documentation pages, there is quite a bit here in the forums if you search, and then use the Inspector and the source code to find the other pieces.


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

Board footer

Powered by FluxBB