mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 17:47:44 +02:00
Add support for swww
This commit is contained in:
parent
236aa48e74
commit
82332fbff9
@ -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"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user