Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-10-20 23:21:54

denyer
Member
From: UK
Registered: 2018-10-20
Posts: 63
Website

[SOLVED] XfceTasklist::minimized-icon-lucency=100 equivalent for gtk3?

Adding the following to ~/.config/gtk-3.0/gtk.css doesn't have the expected effect;

.tasklist image { opacity: 1; }

Setting opacity to eg 0.5 does have an effect, dimming icons further, but nothing will seem to bring the minimised icon up to full opacity.

Does anyone have a method that works, please?

Last edited by denyer (2018-10-21 15:49:47)

Offline

#2 2018-10-21 01:12:30

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

Re: [SOLVED] XfceTasklist::minimized-icon-lucency=100 equivalent for gtk3?

Hello and welcome.

Can you try the following to see if it works:

* {
   -XfceTasklist-minimized-icon-lucency: 100;
}

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 2018-10-21 01:22:57

denyer
Member
From: UK
Registered: 2018-10-20
Posts: 63
Website

Re: [SOLVED] XfceTasklist::minimized-icon-lucency=100 equivalent for gtk3?

Brilliant, that works thanks!

Is it a general syntax equivalent? I've got eg "-GtkScrollbar-has-backward-stepper" in my gtk.css already, and googling that seems to be "GtkScrollbar::has-backward-stepper" in gtkrc terms.

Offline

#4 2018-10-21 10:10:14

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

Re: [SOLVED] XfceTasklist::minimized-icon-lucency=100 equivalent for gtk3?

As far as I understand it, this is how you address CSS properties and is a direct translation of the old GTK2 properties or custom properties created in code.

Other Xfce examples:

* {

/* Panel */
	-XfcePanelWindow-popup-delay: 1000;
	-XfcePanelWindow-popdown-delay: 1000;
	-XfcePanelWindow-autohide-size: 10;

/* tabwin */
	-XfwmTabwinWidget-icon-size: 96;
	-XfwmTabwinWidget-preview-size: 256;

/* thunar spacing */
	-ThunarAbstractIconView-column-spacing: 80;
	-ThunarAbstractIconView-row-spacing: 80;

/* tasklist icon rows limit to 1 */
	-XfceTasklist-max-button-size: 0;

}

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

#5 2018-10-21 15:51:19

denyer
Member
From: UK
Registered: 2018-10-20
Posts: 63
Website

Re: [SOLVED] XfceTasklist::minimized-icon-lucency=100 equivalent for gtk3?

Great stuff thanks, time to go and read through some source code for options. big_smile

Offline

Board footer

Powered by FluxBB