mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-10 07:58:12 +01:00
Update wallpaper.py
Add support for hsetroot to change wallpaper.
This commit is contained in:
parent
1f134ac9af
commit
b0d736199e
@ -65,6 +65,9 @@ def set_wm_wallpaper(img):
|
|||||||
elif shutil.which("xwallpaper"):
|
elif shutil.which("xwallpaper"):
|
||||||
util.disown(["xwallpaper", "--zoom", img])
|
util.disown(["xwallpaper", "--zoom", img])
|
||||||
|
|
||||||
|
elif shutil.which("hsetroot"):
|
||||||
|
util.disown(["hsetroot", "-fill", 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