Skip to content

Commit

Permalink
Update wallpaper.py
Browse files Browse the repository at this point in the history
Add support for hsetroot to change wallpaper.
  • Loading branch information
plasmoduck authored May 3, 2020
1 parent 1f134ac commit b0d7361
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pywal/wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit b0d7361

Please sign in to comment.