I lack the skills to take up Juanito's suggestion but may not need to do that soonish
Forgive me for any perceived ego issues....but I repeat I have not learnt any computer languages eg python nor done any courses in coding so I have to call myself a simple coder in comparison to Juanito or Rich etc. but I am now retired at the tender age of 60 and enjoy the modest challenge of getting some packages to compile on TC, which is why I am back. I also practice slow breathing which has helped with some medical issues.
upstream the maintainer preferred distribution against git branch 0.15 that builds against wlc and chck.....and for various reasons I resisted building
----it had a screen capture exe called swaygrab
upstream there are alpha releases....the most recent is 1.0 alpha 4 which had no swaygrab, as that part of the function had not transistioned from wlc to wlroots.....and wlroots is the new dep of sway git stuff.
sway master now shows a new package called swaynab, which I am hoping means capture.
umm I find sway quite usable but it is still a WIP so I might have to delay any submission
cheers