commit f184c37994a592bea9932e4a9ce981f39a4517dc
parent e7a15a5d5012281e926e683deca16a97cadf4c89
Author: Chris Down <chris@chrisdown.name>
Date: Tue, 30 May 2017 08:55:27 +0100
Add a note about using CM_ONESHOT, per #47
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -29,6 +29,11 @@ there, but it basically works like this:
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.
2. If `clipmenud` detects changes to the clipboard contents, it writes them out
to the cache directory.