From 19b5a4fa2641b1530fb535819587b146857b76b9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 1 Jan 2018 09:10:33 +1100 Subject: [PATCH] reload: Turns out that you can't give xrdb multiple files at once. --- pywal/reload.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pywal/reload.py b/pywal/reload.py index 93ef5383..40f59001 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():