mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-07-15 21:45:07 +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"):
|
||||
util.disown(["xwallpaper", "--zoom", img])
|
||||
|
||||
elif shutil.which("hsetroot"):
|
||||
util.disown(["hsetroot", "-fill", img])
|
||||
|
||||
elif shutil.which("nitrogen"):
|
||||
util.disown(["nitrogen", "--set-zoom-fill", img])
|
||||
|
||||
|
Reference in New Issue
Block a user