Skip to content

GTK Applications

A large numbers of for Linux uses applications GTK (GIMP Toolkit) for UI. You can apply theme by editing gtk.css. Apply this method will make affect most GTK based applications with some exception.

Add the following line to the configuration:

toml
[links]
"gtk.css" = [
  "~/.config/gtk-3.0/gtk.css",
  "~/.config/gtk-4.0/gtk.css",
]

INFO

You need to generate colors for these theme files to be created.

  • If you're running rong for the first time:
    bash
    rong video -vv path/to/image/or/video
  • Else regenerate colors from current image:
    bash
    rong regen -vv

Reload

Restarting your GTK based applications will apply the material theme. If you're changing the theme color then run:

Replace [mode] with light or dark.

bash
gsettings set org.gnome.desktop.interface gtk-theme ""
gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-[mode]