README (1191B)
1 swot - neuSWc screenshOT 2 ======================== 3 4 swot is like scrot but for minimal neuswc compositors. This is more of a personal project 5 for my own usage because I felt that swcsnap was "lacking" in my use case. However, the only 6 issues I had with swcsnap was that it only output to ppm and didn't have regional selection. 7 8 Building 9 -------- 10 11 Building swot doesn't require a vast amount of dependencies: a competent c99 c compiler, 12 wayland-client, wayland-scanner, pkg-config, libxkbcommon, libspng, and libjpeg-turbo. 13 14 make 15 make install 16 17 Usage 18 ----- 19 20 Using swot is quite trivial, it's a very simple program. For fullscreen screenshots invoking 21 it by itself is like so: 22 23 swot > image.png # output using redirect 24 swot -o screenie.jpg # output using -o (output) 25 26 Output defaults to png. 27 28 Drag to select an area on the primary screen, or press Esc to cancel. Regional 29 selection uses the layer-shell protocol provided by neuswc. 30 31 swot -s > image.png 32 33 To output to clipboard (my main usage really) using wl-clipboard: 34 35 swot -s | wl-copy -t image/png 36 37 Credits 38 ------- 39 40 - neuswc - swcsnap was a very good reference for where to start 41 - suckless - thanks for util.* 42