mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 09:23:08 +01:00
Adding support for gnome dark mode wallpapers
This commit is contained in:
parent
236aa48e74
commit
ad5879b2e6
@ -101,6 +101,9 @@ def set_desktop_wallpaper(desktop, img):
|
|||||||
"picture-uri", "file://" + urllib.parse.quote(img)])
|
"picture-uri", "file://" + urllib.parse.quote(img)])
|
||||||
|
|
||||||
elif "gnome" in desktop or "unity" in desktop:
|
elif "gnome" in desktop or "unity" in desktop:
|
||||||
|
util.disown(["gsettings", "set",
|
||||||
|
"org.gnome.desktop.background",
|
||||||
|
"picture-uri-dark", "file://" + urllib.parse.quote(img)])
|
||||||
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