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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,985

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; }

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