Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
wallpaper: Fix a bug causing wallpaper not to change properly in some…
Browse files Browse the repository at this point in the history
… DEs.
  • Loading branch information
dylanaraps committed Jul 6, 2017
1 parent 7508d01 commit e86239d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywal/wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ def set_desktop_wallpaper(desktop, img):
elif "muffin" in desktop or "cinnamon" in desktop:
subprocess.Popen(["gsettings", "set",
"org.cinnamon.desktop.background",
"picture-uri", "file:///" + img])
"picture-uri", "file://" + img])

elif "gnome" in desktop:
subprocess.Popen(["gsettings", "set",
"org.gnome.desktop.background",
"picture-uri", "file:///" + img])
"picture-uri", "file://" + img])

elif "mate" in desktop:
subprocess.Popen(["gsettings", "set", "org.mate.background",
Expand Down

0 comments on commit e86239d

Please sign in to comment.