diff options
author | B Stack <bgstack15@gmail.com> | 2020-09-20 11:13:53 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-09-20 11:13:53 -0400 |
commit | fc36604e4522ab7b2cb8309e8727e6664a92dc92 (patch) | |
tree | 253150c367ba39724a7d91b04fe3aa94539b71c3 /src/themedetector.py | |
download | themedetector-master.tar.gz themedetector-master.tar.bz2 themedetector-master.zip |
Diffstat (limited to 'src/themedetector.py')
-rwxr-xr-x | src/themedetector.py | 6 |
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')) |