reload: Call config script first.

This commit is contained in:
Dylan Araps 2018-04-03 07:43:40 +10:00
parent 585afee534
commit 33b063cdc7

View File

@ -90,12 +90,12 @@ def colors(cache_dir=CACHE_DIR):
def external_script(cmd_hook):
"""Launch an external process after pywal."""
if cmd_hook:
util.disown([cmd_hook])
if CONFIG.get("general", "cmd_hook"):
util.disown(CONFIG.get("general", "cmd_hook").split())
if cmd_hook:
util.disown([cmd_hook])
def env(xrdb_file=None, tty_reload=True):
"""Reload environment."""