From d695168a441d99ebdd189c4aedbd951bde906bc6 Mon Sep 17 00:00:00 2001 From: threadreaper Date: Tue, 4 Aug 2020 03:11:22 -0500 Subject: Errors fixed. --- pywal/export.py | 2 +- pywal/wallpaper.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pywal/export.py b/pywal/export.py index 45f9a34..1250528 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -92,7 +92,7 @@ def get_export_type(export_type): "json": "colors.json", "konsole": "colors-konsole.colorscheme", "kitty": "colors-kitty.conf", - "nqq": "colors-nqq.css", + "nqq": "colors-nqq.css", "plain": "colors", "putty": "colors-putty.reg", "rofi": "colors-rofi.Xresources", diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index c199aef..f654187 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -91,7 +91,7 @@ def set_wm_wallpaper(img): def set_desktop_wallpaper(desktop, img): """Set the wallpaper for the desktop environment.""" desktop = str(desktop).lower() - + if "xfce" in desktop or "xubuntu" in desktop: xfconf(img) @@ -125,8 +125,7 @@ def set_desktop_wallpaper(desktop, img): d.writeConfig("Image", "%s")}; """ util.disown(["qdbus", "org.kde.plasmashell", "/PlasmaShell", "org.kde.PlasmaShell.evaluateScript", - string % img]) - + string % img]) else: set_wm_wallpaper(img) -- cgit v1.2.3