Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-02-25 14:43:49

hypnotic-pigeon
Member
Registered: 2019-02-25
Posts: 6

[Solved] Theme workspace switcher GTK3

Hi! I'm trying to change the colours on the workspace switcher panel plugin in Xfce. Thanks to ToZ's generous help on other forum posts, I used this:

style "pager" = "default"
{
    bg[NORMAL]        = "#000000"   # background colour
    bg[PRELIGHT]      = "#ff0000"   # foreground colour on hover
    bg[SELECTED]      = "#0000ff"   # foreground colour
}
widget_class "*Pager*"             style "pager"
class "*Pager*"                    style "pager"

to style the plugin on older versions of Xfce. Could anyone tell me the correct syntax to put in my ~/.config/gtk-3.0/gtk.css file to produce the same result in the GTK3 version?

Thanks a lot for your help.

Last edited by hypnotic-pigeon (2019-03-08 14:54:31)

Offline

#2 2019-02-25 18:16:12

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

Re: [Solved] Theme workspace switcher GTK3

Hello and welcome.

The following should work:

wnck-pager { background-color: #000000; }
wnck-pager:selected { background-color: #0000ff; }
wnck-pager:hover { background-color: #ff0000; }

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 2019-02-25 18:40:22

hypnotic-pigeon
Member
Registered: 2019-02-25
Posts: 6

Re: [Solved] Theme workspace switcher GTK3

Fantastic thank you so much kind sir!

Offline

Board footer

Powered by FluxBB