Cool stuff! On Tue Jul 4, 2023 at 9:51 AM EDT, NRK wrote: > ... > > sxot > ==== > > This one is a *very minimal* screenshot tool. I wrote this when I > realized that other cli screenshot tools (scrot, maim) do way too much. > > sxot on the other hand is meant to follow the unix philosophy - it > simply takes a screenshot and outputs a binary ppm image to stdout. > Any other functionalities are supposed to be handled by more specialized > tools. E.g sx4 (see below) for selection, optipng to convert to png, > xclip for copying to clipboard etc. > > Repo: https://codeberg.org/NRK/sxot > SLoC: ~251 > Dependencies: Xlib, libXfixes > > ...
I'm curious, what inspired you to write this instead of using xwd? I've been using a script[0] based on that for many years now. [0]: https://git.sr.ht/~smlavine/scripts/tree/master/item/src/shoot