aboutsummaryrefslogtreecommitdiff
path: root/src/themedetector.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/themedetector.py')
-rwxr-xr-xsrc/themedetector.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/themedetector.py b/src/themedetector.py
new file mode 100755
index 0000000..1d22a67
--- /dev/null
+++ b/src/themedetector.py
@@ -0,0 +1,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'))
bgstack15