From a3585759422957459e84499371c6769d31d37db2 Mon Sep 17 00:00:00 2001 From: uint Date: Sun, 14 Dec 2025 19:46:49 +0000 Subject: add example to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9c538d8..d66734c 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,6 @@ xnap is minimal and just outputs the image contents (PPM format) to the stdout. please use a tool to collect that info and store / convert it to whatever you like. enjoy! + +> example usage +> sxwm: `bind : mod + shift + s : "bash -c 'xnap | pnmtopng | tee ~/Pictures/screenshots/$(date +%Y-%m-%d_%H-%M).png | xclip -selection clipboard -t image/png'"` -- cgit v1.2.3