mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-20 21:08:48 +01:00
wallpaper: Fix a bug causing wallpaper not to change properly in some DEs.
This commit is contained in:
parent
7508d0139d
commit
e86239d3b5
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user