From 82332fbff937ec119acd3dd637d5821f3f8d0a1a Mon Sep 17 00:00:00 2001 From: Colepng Date: Sat, 18 Feb 2023 15:29:35 -0500 Subject: [PATCH] Add support for swww --- pywal/wallpaper.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index 6a506279..e2cf650c 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -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"):