clipmenu

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

commit 0b003d4ad2b889e6a6201d3f4eeceaea254f0529
parent aae0e6e816f5643177cbe1067afb7c814afeb64b
Author: Chris Down <chris@chrisdown.name>
Date:   Sun, 11 Mar 2018 20:24:37 -0400

Fix errant handling of specific-file deletion

Diffstat:
Mclipdel | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/clipdel b/clipdel @@ -57,14 +57,10 @@ else ) if (( CM_REAL_DELETE )); then - mapfile -t match_cksums < <( - for match in "${matches[@]}"; do cksum <<< "${line}"; done - ) - flock -x -w "$lock_timeout" "$lock_fd" || exit for match in "${matches[@]}"; do - ck=$(cksum <<< "$line") + ck=$(cksum <<< "$match") rm -f -- "$cache_dir/$ck" done