summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-14 19:46:49 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-14 19:46:49 +0000
commita3585759422957459e84499371c6769d31d37db2 (patch)
treec078ff6de86877e413622988321d520191dd1aa5
parenta1206bdfaf4d52bd666ede801938e9c1411b2248 (diff)
add example to README
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
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'"`