From 8896df90115093ca6044bb8d6839c8bcc1f13c14 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Tue, 20 Feb 2018 10:30:54 +0000 Subject: [PATCH] Use -o/-i, not -k -k is not selection based --- clipmenud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipmenud b/clipmenud index 9fd0033..f273aa2 100755 --- a/clipmenud +++ b/clipmenud @@ -194,7 +194,7 @@ while true; do # We can't colocate this with the above copying code because # https://github.com/cdown/clipmenu/issues/34 requires knowing if # we would skip first. - _xsel -k --"$selection" + _xsel -o --clipboard | _xsel -i --clipboard fi if (( CM_MAX_CLIPS )) && [[ -f $cache_file ]]; then