clipmenu

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

commit 4770e52cf398aec0aed6a9bd65d89e9ab54e1c7d
parent 2aae4989afcf447075122665ff064e7629ef477b
Author: Chris Down <chris@chrisdown.name>
Date:   Mon, 23 Mar 2020 17:15:52 +0000

clipmenud: Update comment for CM_OWN_CLIPBOARD, we don't use element_in

Diffstat:
Mclipmenud | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/clipmenud b/clipmenud @@ -175,17 +175,7 @@ while true; do last_cache_file_output[$selection]=$cache_file_output if (( CM_OWN_CLIPBOARD )) && [[ $selection == clipboard ]]; then - # Take ownership of the clipboard, in case the original application - # is unable to serve the clipboard request (due to being suspended, - # etc). - # - # 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. - # - # 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. + # Only clipboard, since apps like urxvt will unhilight for PRIMARY _xsel -o --clipboard | _xsel -i --clipboard fi done