clipmenu

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

commit 8bb4ff39998b027b7f9a5c1e6ca9afe66c14ee03
parent 2cd2287612a541260e4a6973045479b354a4febf
Author: Chris Down <chris@chrisdown.name>
Date:   Tue, 24 Oct 2017 17:03:02 +0200

Gate new clipboard entry output on CM_DEBUG

Closes #49.

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

diff --git a/clipmenud b/clipmenud @@ -114,8 +114,7 @@ while (( CM_ONESHOT )) || sleep "${CM_SLEEP:-0.5}"; do first_line=$(get_first_line "$data") - printf 'New clipboard entry on %s selection: "%s"\n' \ - "$selection" "$first_line" + debug "New clipboard entry on $selection selection: \"$first_line\"" filename="$cache_dir/$(cksum <<< "$first_line")" debug "Writing $data to $filename"