diff options
| author | Dylan Araps <[email protected]> | 2017-06-30 20:07:28 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-06-30 20:07:28 +1000 |
| commit | 6d48f5fb6be6045d89948729c6e28ed1f1a305ab (patch) | |
| tree | 708acb18fef993dbed4835a1dd712edcef113bfb | |
| parent | docs: README (diff) | |
| download | pywal-6d48f5fb6be6045d89948729c6e28ed1f1a305ab.tar.xz pywal-6d48f5fb6be6045d89948729c6e28ed1f1a305ab.zip | |
colors: Fix bug with i3 titlebars not being the right color.
| -rw-r--r-- | pywal/reload.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pywal/reload.py b/pywal/reload.py index 0c5c612..b94233c 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -8,20 +8,20 @@ from pywal.settings import CACHE_DIR from pywal import util -def reload_i3(): - """Reload i3 colors.""" - if shutil.which("i3-msg"): - util.disown("i3-msg", "reload") - - def reload_xrdb(): """Merge the colors into the X db so new terminals use them.""" if shutil.which("xrdb"): subprocess.call(["xrdb", "-merge", CACHE_DIR / "colors.Xresources"]) +def reload_i3(): + """Reload i3 colors.""" + if shutil.which("i3-msg"): + util.disown("i3-msg", "reload") + + def reload_env(): """Reload environment programs.""" - reload_i3() reload_xrdb() + reload_i3() print("reload: Reloaded environment.") |