mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 09:23:08 +01:00
Merge pull request #372 from furrycatherder/fix-awesome
Fix wallpaper setting in awesomewm
This commit is contained in:
commit
e7a2bfd29f
@ -97,7 +97,9 @@ def set_desktop_wallpaper(desktop, img):
|
|||||||
util.disown(["swaymsg", "output", "*", "bg", img, "fill"])
|
util.disown(["swaymsg", "output", "*", "bg", img, "fill"])
|
||||||
|
|
||||||
elif "awesome" in desktop:
|
elif "awesome" in desktop:
|
||||||
util.disown(["awesome-client", "gears.wallpaper.maximized(", img, ")"])
|
util.disown(["awesome-client",
|
||||||
|
"require('gears').wallpaper.maximized('{img}')"
|
||||||
|
.format(**locals())])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
set_wm_wallpaper(img)
|
set_wm_wallpaper(img)
|
||||||
|
Loading…
Reference in New Issue
Block a user