Merge pull request #372 from furrycatherder/fix-awesome

Fix wallpaper setting in awesomewm
This commit is contained in:
black 2019-02-23 20:54:07 +02:00 committed by GitHub
commit e7a2bfd29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,9 @@ def set_desktop_wallpaper(desktop, img):
util.disown(["swaymsg", "output", "*", "bg", img, "fill"])
elif "awesome" in desktop:
util.disown(["awesome-client", "gears.wallpaper.maximized(", img, ")"])
util.disown(["awesome-client",
"require('gears').wallpaper.maximized('{img}')"
.format(**locals())])
else:
set_wm_wallpaper(img)