clipnotify

Notify on new X clipboard events
git clone https://git.sinitax.com/cdown/clipnotify
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 25ba143c7da8ae0f196cb0db2797d30e6d04e15c
parent 9c23a8b60dd8a9efa00f73273e03e9064a3d115e
Author: Chris Down <chris@chrisdown.name>
Date:   Tue,  8 Nov 2022 13:48:46 +0000

readme: Show example of loop mode

Diffstat:
MREADME.md | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -7,6 +7,12 @@ avoid polling for new selections. Here's how it's intended to be used: + while read; do + [an event happened, do something with the selection] + done < <(clipnotify -l) + +Or: + while clipnotify; do [an event happened, do something with the selection] done