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: 11,482

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 522.92 KiB (Peak: 523.77 KiB) ]