mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-05-29 14:11:43 +02:00
Merge 82332fbff937ec119acd3dd637d5821f3f8d0a1a into 236aa48e741ff8d65c4c3826db2813bf2ee6f352
This commit is contained in:
commit
e641ed5454
@ -59,7 +59,10 @@ def xfconf(img):
|
|||||||
|
|
||||||
def set_wm_wallpaper(img):
|
def set_wm_wallpaper(img):
|
||||||
"""Set the wallpaper for non desktop environments."""
|
"""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])
|
util.disown(["feh", "--bg-fill", img])
|
||||||
|
|
||||||
elif shutil.which("xwallpaper"):
|
elif shutil.which("xwallpaper"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user