Subject: bug#57781: missing wallpaper command

From: Stefan Kangas <[email-masked]>
Date: Tue, 13 Sep 2022 22:41:01 -0700

tags 57781 + pending
thanks

Felix <[email-masked]> writes:

> I'm not using swaybg but wbg as wallpaper command on wayland which is
> not yet part of the wallpaper-commands.
> 'wallpaper-set' works if i evaluate:
> (add-to-list 'wallpaper-commands '("wbg" "%f"))

Thanks for the bug report!

I've added it now (commit f0798ac13d), could you please test?

To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
We could do something more fancy if needed, possibly involving
loginctl.