Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
reload: Turns out that you can't give xrdb multiple files at once.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Dec 31, 2017
1 parent f07c98b commit 19b5a4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pywal/reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 19b5a4f

Please sign in to comment.