Fabian Knorr
Fabian Knorr

Reputation: 3194

Changing the look of new Gnome 3 title bars in with a GTK3 theme

I have a GTK3/Metacity theme which uses dark title bars.

Recent versions of Gnome 3 combine title- and toolbars, e.g. in Nautilus. I want to change their color to be consistent with all other GTK windows.

enter image description here

What is the attribute I need to look for?

Upvotes: 1

Views: 18468

Answers (3)

Thomas Ahle
Thomas Ahle

Reputation: 31604

You could install gtk-tweak-tool and configure your system to global-dark-theme.

Upvotes: 0

reece
reece

Reputation: 8155

The source code for the GTK+ themes is located in the https://git.gnome.org/browse/gnome-themes-standard/ git repository. The styling for the different widgets for Adwaita is located in the themes/Adwaita/gtk-3.0/gtk-widgets.css file -- see the section starting:

/***************
 * Header bars *
 ***************/

Specifically:

  • .header-bar { ... }
  • .header-bar:backdrop { ... }
  • .header-bar .button.text-button { ... }
  • .header-bar .button.image-button { ... }

Upvotes: 4

Arthur Borsboom
Arthur Borsboom

Reputation: 341

Although not 100% sure, I thought Nautilus is a GTK2 application. If that is the case, you need to create a GTK2 theme next to your GTK3 theme.

You can put these folders next to each other.

Take a look in your /usr/share/themes folder for examples.

Does this help you?

Upvotes: 0

Related Questions