summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pywal/reload.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pywal/reload.py b/pywal/reload.py
index a01184c..f284966 100644
--- a/pywal/reload.py
+++ b/pywal/reload.py
@@ -29,14 +29,14 @@ def gtk():
if gtk2_file.is_file():
shutil.copy(gtk2_file, theme_path / "gtk-2.0")
- # Here we call a Python 2 script to reload the GTK themes.
- # This is done because the Python 3 GTK/Gdk libraries don't
- # provide a way of doing this.
- if shutil.which("python2"):
- util.disown(["python2", MODULE_DIR / "scripts" / "gtk_reload.py"])
-
- else:
- print("warning: GTK2 reload support requires Python 2.")
+ # Here we call a Python 2 script to reload the GTK themes.
+ # This is done because the Python 3 GTK/Gdk libraries don't
+ # provide a way of doing this.
+ if shutil.which("python2"):
+ util.disown(["python2", MODULE_DIR / "scripts" / "gtk_reload.py"])
+
+ else:
+ print("warning: GTK2 reload support requires Python 2.")
def i3():