commit 8896df90115093ca6044bb8d6839c8bcc1f13c14
parent c7c894a0238d531aeb4aab8ec2361bd1b2a14768
Author: Chris Down <chris@chrisdown.name>
Date: Tue, 20 Feb 2018 10:30:54 +0000
Use -o/-i, not -k
-k is not selection based
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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