diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-08-25 19:39:47 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-08-25 19:39:47 +1000 |
| commit | f50cac635e3e7cb55bd0898985dea1b048120263 (patch) | |
| tree | 646a7ce42f5a87543a2510f279f24224db513f97 /pywal/reload.py | |
| parent | 93258bdcd8a776a298147e973e156c4488995c8c (diff) | |
OS: Added support for Windows
Diffstat (limited to 'pywal/reload.py')
| -rw-r--r-- | pywal/reload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/reload.py b/pywal/reload.py index b16aec1..41283eb 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -15,7 +15,7 @@ def xrdb(xrdb_file=None): """Merge the colors into the X db so new terminals use them.""" xrdb_file = xrdb_file or os.path.join(CACHE_DIR, "colors.Xresources") - if shutil.which("xrdb") or OS != "Darwin": + if shutil.which("xrdb") and OS != "Darwin": subprocess.Popen(["xrdb", "-merge", xrdb_file], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL).wait() |
