clipmenu

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

commit e7a15a5d5012281e926e683deca16a97cadf4c89
parent 3ab7a6e2e7b4ebb18a432e7adee6a64bbbc825f9
Author: Chris Down <chris@chrisdown.name>
Date:   Wed, 10 May 2017 10:05:16 +0100

Do not sleep initially in oneshot mode

Diffstat:
Mclipmenud | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clipmenud b/clipmenud @@ -60,7 +60,7 @@ declare -A last_filename exec {lock_fd}> "$lock_file" -while sleep "${CM_SLEEP:-0.5}"; do +while (( CM_ONESHOT )) || sleep "${CM_SLEEP:-0.5}"; do if ! flock -x -w "$lock_timeout" "$lock_fd"; then if (( CM_ONESHOT )); then printf 'ERROR: %s\n' 'Timed out waiting for lock' >&2