clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 935c498dec752c669b568b3185b402f3ff8d2ecc
parent 2b04a1eafe0db7e0a9d640750fa59e3cebb4c322
Author: Chris Down <chris@chrisdown.name>
Date:   Mon,  5 Feb 2018 23:52:37 +0000

Add note in readme about new non-polling mode

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

diff --git a/README.md b/README.md @@ -26,14 +26,14 @@ there, but it basically works like this: ## clipmenud -1. `clipmenud` polls the clipboard every 0.5 seconds (or another interval as - configured with the `CM_SLEEP` environment variable). Unfortunately there's - no interface to subscribe for changes in X11, so we must poll. - - Instead of polling, you can bind your copy key binding to also issue - `CM_ONESHOT=1 clipmenud`. However, there's no generic way to do this, since - any keys or mouse buttons could be bound to do this action in a number of - ways. +1. `clipmenud` uses [clipnotify](https://github.com/cdown/clipnotify) to wait + for new clipboard events. If clipnotify is not present on the system, we + poll every 0.5 seconds (or another interval as configured with the + `CM_SLEEP` environment variable). + + You can also bind your copy key binding to also issue `CM_ONESHOT=1 + clipmenud`. However, there's no generic way to do this, since any keys or + mouse buttons could be bound to do this action in a number of ways. 2. If `clipmenud` detects changes to the clipboard contents, it writes them out to the cache directory.