mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
Theme is optional for GTK refresh
I thought maybe that specific theme could be optional for running the reload script.
This commit is contained in:
parent
1f1c21e788
commit
524b52dee5
@ -32,11 +32,11 @@ def gtk():
|
||||
# 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"])
|
||||
if shutil.which("python2"):
|
||||
util.disown(["python2", MODULE_DIR / "scripts" / "gtk_reload.py"])
|
||||
|
||||
else:
|
||||
print("warning: GTK2 reload support requires Python 2.")
|
||||
else:
|
||||
print("warning: GTK2 reload support requires Python 2.")
|
||||
|
||||
|
||||
def i3():
|
||||
|
Loading…
Reference in New Issue
Block a user