clipmenu

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

commit 47eb3d182c22e4ab2584562ef9dd215df43796dd
parent 11304d3a60dfc469759c4662743f792cd5d4ca80
Author: Chris Down <chris@chrisdown.name>
Date:   Mon, 19 Feb 2018 15:07:26 +0000

Use xsel -o/-i instead of -k

-k is not selection based, so it also takes PRIMARY.

Diffstat:
Mclipmenud | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clipmenud b/clipmenud @@ -107,7 +107,7 @@ while true; do # Primary is excluded from the change of ownership as applications # sometimes act up if clipboard focus is taken away from them -- # for example, urxvt will unhilight text, which is undesirable. - _xsel -k --clipboard + _xsel -o --clipboard | _xsel -i --clipboard fi if ! (( CM_ONESHOT )); then