Merge 82332fbff937ec119acd3dd637d5821f3f8d0a1a into 236aa48e741ff8d65c4c3826db2813bf2ee6f352

This commit is contained in:
Cole Kauder-McMurrich 2023-04-30 00:51:40 -04:00 committed by GitHub
commit e641ed5454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,10 @@ def xfconf(img):
def set_wm_wallpaper(img):
"""Set the wallpaper for non desktop environments."""
if shutil.which("feh"):
if shutil.which("swww"):
util.disown(["swww", "img", img])
elif shutil.which("feh"):
util.disown(["feh", "--bg-fill", img])
elif shutil.which("xwallpaper"):