1 2 3 4 5 6
#!/usr/bin/python3 import gi gi.require_version("Gtk","3.0") from gi.repository import Gtk settings=Gtk.Settings.get_default() print(settings.get_property('gtk-theme-name'))