A Vulkan Screenshot Layer
Why? I don't know, it's not usefull, maybe on nvidia + flipping + no compositor because other screenshot tools sometimes have issues with that.
git clone https://github.com/DadSchoorse/bathingshots.git
cd bathingshots
meson --buildtype=release -Dappend_libdir_bathingshots=true builddir
ninja -C builddir install
Set BATH=1
in the environment. For example, use this as launch option for a steam game:
BATH=1 %command%
Pressing End
will save a screenshot to /tmp/screenshot.png
, both are currently not configurable.