wallpaper: Fix a bug causing wallpaper not to change properly in some DEs.

This commit is contained in:
Dylan Araps 2017-07-06 22:33:10 +10:00
parent 7508d0139d
commit e86239d3b5

View File

@ -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",