Update wallpaper.py

Add support for hsetroot to change wallpaper.
This commit is contained in:
Chris Garvin 2020-05-03 22:04:27 +10:00 committed by GitHub
parent 1f134ac9af
commit b0d736199e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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