go build .
./wallhaven fetch
./wallhaven set
in your sway config instead of:
output "*" background image.jpg fill
try
exec wallhaven restore
then its possible to bind fetch and set to unused keys
A small go tool to download wallpapers from wallhaven.cc and set them at runtime in swaywm 1.x
Go