clipmenu

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

commit 4ab52c57473a214e42999a2792e3be0d6cfb84d1
parent dd9a04184665cca972f0fbaf5b8e1c07dd0b079a
Author: Chris Down <chris@chrisdown.name>
Date:   Wed,  5 Feb 2014 17:48:03 +0800

Use xsel when copying to clipboard, not xclip

Diffstat:
Mclipmenu | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clipmenu b/clipmenu @@ -21,4 +21,6 @@ chosen_line=$(printf '%s\n' "${!selections[@]}" | dmenu -l "$dmenu_lines") [[ $chosen_line ]] || exit 1 -xclip < "${selections[$chosen_line]}" +for selection in clipboard primary; do + xsel --"$selection" < "${selections[$chosen_line]}" +done