mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 16:59:48 +01:00
reload: Turns out that you can't give xrdb multiple files at once.
This commit is contained in:
parent
f07c98b661
commit
19b5a4fa26
@ -17,9 +17,10 @@ def xrdb(xrdb_files=None):
|
|||||||
os.path.join(CACHE_DIR, "colors-rofi.Xresources")]
|
os.path.join(CACHE_DIR, "colors-rofi.Xresources")]
|
||||||
|
|
||||||
if shutil.which("xrdb") and OS != "Darwin":
|
if shutil.which("xrdb") and OS != "Darwin":
|
||||||
subprocess.Popen(["xrdb", "-merge", "-nocpp", *xrdb_files],
|
for file in xrdb_files:
|
||||||
stdout=subprocess.DEVNULL,
|
subprocess.Popen(["xrdb", "-merge", "-nocpp", file],
|
||||||
stderr=subprocess.DEVNULL).wait()
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL).wait()
|
||||||
|
|
||||||
|
|
||||||
def gtk():
|
def gtk():
|
||||||
|
Loading…
Reference in New Issue
Block a user