-
-
Save mortymacs/994d6a8c7afa22d5ea72941fafec7030 to your computer and use it in GitHub Desktop.
Set dark theme for GTK+ application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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