clipmenu

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

commit 19569a81bcefa721d52190d3b893f871ed192718
parent 99a49211d9fbae0cb067f5e04f8bac3148220179
Author: Chris Down <chris@chrisdown.name>
Date:   Sun, 19 Mar 2017 07:29:12 +0000

Log new clipboard entries without $DEBUG

Diffstat:
Mclipmenud | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/clipmenud b/clipmenud @@ -103,6 +103,10 @@ while sleep "${CLIPMENUD_SLEEP:-0.5}"; do last_filename[$selection]=$filename first_line=$(get_first_line "$data") + + printf 'New clipboard entry on %s selection: "%s"\n' \ + "$selection" "$first_line" + filename="$cache_dir/$(cksum <<< "$first_line")" debug "Writing $data to $filename" printf '%s' "$data" > "$filename"