dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ec78a4dc10c6346cab05ef4958808061bab10e4b
parent 8491f9bc599c222fa4575ea3a945565a6d986b69
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 14 Oct 2019 08:53:56 +0200

Make xclip action yank to both selections

Diffstat:
M.local/bin/linkhandler | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -27,7 +27,8 @@ handle_url() { "open (tbb)") nohup tor-browser "$1" >/dev/null 2>&1 & ;; "xclip") - printf "%s" "$1" | xclip ;; + printf "%s" "$1" | xclip + printf "%s" "$1" | xclip -selection clipboard ;; "bookmark") description="$(echo "$(date), $hostname" | \ dmenu -p "description:")"