Add support for xwallpaper

This commit is contained in:
Víctor Lasa 2020-03-29 18:09:49 +00:00 committed by GitHub
parent ee50fb3ab3
commit 5c34f4e689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,9 @@ def set_wm_wallpaper(img):
if shutil.which("feh"): if shutil.which("feh"):
util.disown(["feh", "--bg-fill", img]) util.disown(["feh", "--bg-fill", img])
elif shutil.which("xwallpaper"):
util.disown(["xwallpaper", "--zoom", img])
elif shutil.which("nitrogen"): elif shutil.which("nitrogen"):
util.disown(["nitrogen", "--set-zoom-fill", img]) util.disown(["nitrogen", "--set-zoom-fill", img])