summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-06 22:33:10 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-06 22:33:10 +1000
commite86239d3b56820c6dd3d8df771fc65b8ad30f257 (patch)
tree463b889f823bbc39770300aac1cdc2848a58eab2
parent7508d0139df8e455d27f37ffa46f2d8d6f043ae6 (diff)
wallpaper: Fix a bug causing wallpaper not to change properly in some DEs.
-rw-r--r--pywal/wallpaper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py
index 1df3403..59f1aeb 100644
--- a/pywal/wallpaper.py
+++ b/pywal/wallpaper.py
@@ -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",