mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 09:23:08 +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",
|
||||
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||
|
||||
elif "gnome" in desktop:
|
||||
elif "gnome" in desktop or "ubuntu" in desktop:
|
||||
util.disown(["gsettings", "set",
|
||||
"org.gnome.desktop.background",
|
||||
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||
|
Loading…
Reference in New Issue
Block a user