summaryrefslogtreecommitdiff
path: root/pywal
diff options
context:
space:
mode:
authorthreadreaper <threadreaper@gmail.com>2020-08-04 03:11:22 -0500
committerthreadreaper <threadreaper@gmail.com>2020-08-04 03:11:22 -0500
commitd695168a441d99ebdd189c4aedbd951bde906bc6 (patch)
tree59b5df6e461fda7225dc30f6323d52696dd057d9 /pywal
parent2329b1859fc98f8a9710fd462798335d3a06538d (diff)
Errors fixed.
Diffstat (limited to 'pywal')
-rw-r--r--pywal/export.py2
-rw-r--r--pywal/wallpaper.py5
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)