mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 08:50:53 +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")]
|
||||
|
||||
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():
|
||||
|
Loading…
Reference in New Issue
Block a user