mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-07 08:34:01 +01:00
Errors fixed.
This commit is contained in:
parent
d695168a44
commit
c3faf0e1cf
@ -121,11 +121,11 @@ def set_desktop_wallpaper(desktop, img):
|
||||
string = """
|
||||
var allDesktops = desktops();for (i=0;i<allDesktops.length;i++){
|
||||
d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";
|
||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
|
||||
d.writeConfig("Image", "%s")};
|
||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image",
|
||||
"General");d.writeConfig("Image", "%s")};
|
||||
"""
|
||||
util.disown(["qdbus", "org.kde.plasmashell", "/PlasmaShell", "org.kde.PlasmaShell.evaluateScript",
|
||||
string % img])
|
||||
util.disown(["qdbus", "org.kde.plasmashell", "/PlasmaShell",
|
||||
"org.kde.PlasmaShell.evaluateScript", string % img])
|
||||
else:
|
||||
set_wm_wallpaper(img)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user