Skip to content

Instantly share code, notes, and snippets.

@mortymacs
Forked from sergejx/gist:2358089
Last active July 9, 2017 19:06
Show Gist options
  • Save mortymacs/994d6a8c7afa22d5ea72941fafec7030 to your computer and use it in GitHub Desktop.
Save mortymacs/994d6a8c7afa22d5ea72941fafec7030 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment