mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-28 19:03:17 +01:00
Errors fixed.
This commit is contained in:
parent
2329b1859f
commit
d695168a44
@ -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",
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user