mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-12 15:47:01 +02:00
Update wallpaper.py
Add support for hsetroot to change wallpaper.
This commit is contained in:
@ -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])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user