Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-03-08 10:47:48

zrpg
Member
Registered: 2017-03-08
Posts: 4

Xfce PulseAudio Panel Plugin change color

Hello!

Can I doing change foreground color of Xfce PulseAudio Panel Plugin?
Now showing
http://i91.fastpic.ru/big/2017/0308/32/ … 201932.png

Also interesting, can change icon?

Offline

#2 2017-03-08 13:34:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Xfce PulseAudio Panel Plugin change color

Hello and welcome.

Assuming you are using Xfce 4.12, you can use a snippet like this in your ~/.config/gtk-3.0/gtk.css file:

To use the non-symbolic icon:

#pulseaudio-XX* {
   -gtk-icon-style: regular;
}

To colour the symbolic icon:

#pulseaudio-XX* {
   color: #ff0000;
}

To get your specific value of "pulseaudio-XX", go to the panel proerties and find the pulseaudio plugin on the items tab. Hover your mouse over the entry and you will see the widget name. It will be "pulseuadio-<something>". That is what you would use in the snippets above. So on my system:

pulseaudio-16* {
   -gtk-icon-style: regular;
}

...works.


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 2017-03-08 14:12:04

zrpg
Member
Registered: 2017-03-08
Posts: 4

Re: Xfce PulseAudio Panel Plugin change color

Offline

Board footer

Powered by FluxBB