diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-01-01 09:10:33 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-01-01 09:10:33 +1100 |
| commit | 19b5a4fa2641b1530fb535819587b146857b76b9 (patch) | |
| tree | 9efdaaa3a651f9306ba451f93ab73129a950b1a7 | |
| parent | f07c98b66153c4913eea6f537cac813df420ba67 (diff) | |
reload: Turns out that you can't give xrdb multiple files at once.
| -rw-r--r-- | pywal/reload.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pywal/reload.py b/pywal/reload.py index 93ef538..40f5900 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -17,9 +17,10 @@ def xrdb(xrdb_files=None): os.path.join(CACHE_DIR, "colors-rofi.Xresources")] if shutil.which("xrdb") and OS != "Darwin": - subprocess.Popen(["xrdb", "-merge", "-nocpp", *xrdb_files], - stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL).wait() + for file in xrdb_files: + subprocess.Popen(["xrdb", "-merge", "-nocpp", file], + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL).wait() def gtk(): |
