Use -o/-i, not -k

-k is not selection based
This commit is contained in:
Chris Down 2018-02-20 10:30:54 +00:00
parent c7c894a023
commit 8896df9011

View file

@ -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