mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-28 19:03:17 +01:00
Adding support for gnome dark mode wallpapers
This commit is contained in:
parent
236aa48e74
commit
ad5879b2e6
@ -103,7 +103,10 @@ def set_desktop_wallpaper(desktop, img):
|
|||||||
elif "gnome" in desktop or "unity" in desktop:
|
elif "gnome" in desktop or "unity" 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-dark", "file://" + urllib.parse.quote(img)])
|
||||||
|
util.disown(["gsettings", "set",
|
||||||
|
"org.gnome.desktop.background",
|
||||||
|
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||||
|
|
||||||
elif "mate" in desktop:
|
elif "mate" in desktop:
|
||||||
util.disown(["gsettings", "set", "org.mate.background",
|
util.disown(["gsettings", "set", "org.mate.background",
|
||||||
|
Loading…
Reference in New Issue
Block a user