Skip to content

Instantly share code, notes, and snippets.

@sergejx
Created April 11, 2012 08:59
Show Gist options
  • Save sergejx/2358089 to your computer and use it in GitHub Desktop.
Save sergejx/2358089 to your computer and use it in GitHub Desktop.
Set dark theme for GTK+ application
from gi.repository import Gtk
settings = Gtk.Settings.get_default()
settings.set_property("gtk-application-prefer-dark-theme", True)
@tallero
Copy link

tallero commented Dec 2, 2020

<3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment