mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-25 12:01:48 +02:00
reload: Call config script first.
This commit is contained in:
parent
585afee534
commit
33b063cdc7
@ -90,12 +90,12 @@ def colors(cache_dir=CACHE_DIR):
|
|||||||
|
|
||||||
def external_script(cmd_hook):
|
def external_script(cmd_hook):
|
||||||
"""Launch an external process after pywal."""
|
"""Launch an external process after pywal."""
|
||||||
if cmd_hook:
|
|
||||||
util.disown([cmd_hook])
|
|
||||||
|
|
||||||
if CONFIG.get("general", "cmd_hook"):
|
if CONFIG.get("general", "cmd_hook"):
|
||||||
util.disown(CONFIG.get("general", "cmd_hook").split())
|
util.disown(CONFIG.get("general", "cmd_hook").split())
|
||||||
|
|
||||||
|
if cmd_hook:
|
||||||
|
util.disown([cmd_hook])
|
||||||
|
|
||||||
|
|
||||||
def env(xrdb_file=None, tty_reload=True):
|
def env(xrdb_file=None, tty_reload=True):
|
||||||
"""Reload environment."""
|
"""Reload environment."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user