aboutsummaryrefslogtreecommitdiff
path: root/src/themedetector.py
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-09-20 11:13:53 -0400
committerB Stack <bgstack15@gmail.com>2020-09-20 11:13:53 -0400
commitfc36604e4522ab7b2cb8309e8727e6664a92dc92 (patch)
tree253150c367ba39724a7d91b04fe3aa94539b71c3 /src/themedetector.py
downloadthemedetector-fc36604e4522ab7b2cb8309e8727e6664a92dc92.tar.gz
themedetector-fc36604e4522ab7b2cb8309e8727e6664a92dc92.tar.bz2
themedetector-fc36604e4522ab7b2cb8309e8727e6664a92dc92.zip
initial commitHEADmaster
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