Errors fixed.

This commit is contained in:
threadreaper 2020-08-04 03:11:22 -05:00
parent 2329b1859f
commit d695168a44
2 changed files with 3 additions and 4 deletions

View File

@ -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",

View File

@ -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)