From ad5879b2e61a1279b02ab354fb4fe0a1f1797fa5 Mon Sep 17 00:00:00 2001 From: LordVicky Date: Tue, 28 Jun 2022 12:42:32 +0400 Subject: [PATCH] Adding support for gnome dark mode wallpapers --- pywal/wallpaper.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index 6a506279..523b2ea1 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -103,7 +103,10 @@ def set_desktop_wallpaper(desktop, img): elif "gnome" in desktop or "unity" in desktop: util.disown(["gsettings", "set", "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: util.disown(["gsettings", "set", "org.mate.background",