mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 01:14:11 +01:00
Add support for xwallpaper
This commit is contained in:
parent
ee50fb3ab3
commit
5c34f4e689
@ -62,6 +62,9 @@ def set_wm_wallpaper(img):
|
|||||||
if shutil.which("feh"):
|
if shutil.which("feh"):
|
||||||
util.disown(["feh", "--bg-fill", img])
|
util.disown(["feh", "--bg-fill", img])
|
||||||
|
|
||||||
|
elif shutil.which("xwallpaper"):
|
||||||
|
util.disown(["xwallpaper", "--zoom", img])
|
||||||
|
|
||||||
elif shutil.which("nitrogen"):
|
elif shutil.which("nitrogen"):
|
||||||
util.disown(["nitrogen", "--set-zoom-fill", img])
|
util.disown(["nitrogen", "--set-zoom-fill", img])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user