diff options
| author | threadreaper <threadreaper@gmail.com> | 2020-08-04 03:11:22 -0500 |
|---|---|---|
| committer | threadreaper <threadreaper@gmail.com> | 2020-08-04 03:11:22 -0500 |
| commit | d695168a441d99ebdd189c4aedbd951bde906bc6 (patch) | |
| tree | 59b5df6e461fda7225dc30f6323d52696dd057d9 /pywal/wallpaper.py | |
| parent | 2329b1859fc98f8a9710fd462798335d3a06538d (diff) | |
Errors fixed.
Diffstat (limited to 'pywal/wallpaper.py')
| -rw-r--r-- | pywal/wallpaper.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |
