wallpaper: Remove flawed qiv backend.

This commit is contained in:
Dylan Araps 2018-01-02 17:37:41 +11:00
parent 88d391af3d
commit 234a959432
2 changed files with 6 additions and 3 deletions

View File

@ -128,12 +128,12 @@ def process_args(args):
colors_plain["colors"]["color0"] = args.b colors_plain["colors"]["color0"] = args.b
if args.i or args.f: if args.i or args.f:
if not args.s:
sequences.send(colors_plain)
if not args.n: if not args.n:
wallpaper.change(colors_plain["wallpaper"]) wallpaper.change(colors_plain["wallpaper"])
if not args.s:
sequences.send(colors_plain)
export.every(colors_plain) export.every(colors_plain)
if not args.e: if not args.e:

View File

@ -57,6 +57,9 @@ def set_wm_wallpaper(img):
elif shutil.which("habak"): elif shutil.which("habak"):
util.disown(["habak", "-mS", img]) util.disown(["habak", "-mS", img])
elif shutil.which("display"):
util.disown(["display", "-backdrop", "-window", "root", img])
else: else:
print("error: No wallpaper setter found.") print("error: No wallpaper setter found.")
return return