SwayWM, Thunar and backgrounds

I have been hunting everywhere I can ‘think’… and not found a solution that will allow me to build a configuration short-cut in Thunar that creates a Sway background image from a selected photo in a directory. Has anyone solved that problem? If so, are you willing to share your solution?

Thanks in advance!

What are you using? Swaybg?

https://docs.xfce.org/xfce/thunar/custom-actions

This would not be persistent though, the background would revert to the one set in the sway config, would need scripting to replace the name in the config.

I am hoping for something persistent… some of these niggling things make my brain hurt. :crazy_face: