mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-27 07:31:13 +01:00
wallpaper: Add ubuntu support
This commit is contained in:
parent
2d7662dfe0
commit
c21f777060
@ -80,7 +80,7 @@ def set_desktop_wallpaper(desktop, img):
|
|||||||
"org.cinnamon.desktop.background",
|
"org.cinnamon.desktop.background",
|
||||||
"picture-uri", "file://" + urllib.parse.quote(img)])
|
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||||
|
|
||||||
elif "gnome" in desktop:
|
elif "gnome" in desktop or "ubuntu" in desktop:
|
||||||
util.disown(["gsettings", "set",
|
util.disown(["gsettings", "set",
|
||||||
"org.gnome.desktop.background",
|
"org.gnome.desktop.background",
|
||||||
"picture-uri", "file://" + urllib.parse.quote(img)])
|
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||||
|
Loading…
Reference in New Issue
Block a user