mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 16:59:48 +01:00
general: edit comment
This commit is contained in:
parent
8ba377de3a
commit
3dba546dbc
@ -33,6 +33,8 @@ def gtk():
|
|||||||
# provide a way of doing this.
|
# provide a way of doing this.
|
||||||
if shutil.which("python2"):
|
if shutil.which("python2"):
|
||||||
util.disown("python2", MODULE_DIR / "scripts" / "gtk_reload.py")
|
util.disown("python2", MODULE_DIR / "scripts" / "gtk_reload.py")
|
||||||
|
else:
|
||||||
|
print("warning: GTK2 reload support requires Python 2.")
|
||||||
|
|
||||||
|
|
||||||
def i3():
|
def i3():
|
||||||
|
@ -10,7 +10,7 @@ Original source: https://crunchbang.org/forums/viewtopic.php?id=39646
|
|||||||
try:
|
try:
|
||||||
import gtk
|
import gtk
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("error: GTK reload requires PyGTK.")
|
print("[!] error: GTK reload requires PyGTK.")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user