diff --git a/pywal/__main__.py b/pywal/__main__.py index 4c4f4ed..922979a 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -128,12 +128,12 @@ def process_args(args): colors_plain["colors"]["color0"] = args.b if args.i or args.f: - if not args.s: - sequences.send(colors_plain) - if not args.n: wallpaper.change(colors_plain["wallpaper"]) + if not args.s: + sequences.send(colors_plain) + export.every(colors_plain) if not args.e: diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index 3200d41..a9791ba 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -57,6 +57,9 @@ def set_wm_wallpaper(img): elif shutil.which("habak"): util.disown(["habak", "-mS", img]) + elif shutil.which("display"): + util.disown(["display", "-backdrop", "-window", "root", img]) + else: print("error: No wallpaper setter found.") return