Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add support for swww #703

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pywal/wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down