From 94f2be465514937c12eb75a1a28d5a54649d0adb Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 11 May 2009 19:17:21 +0200 Subject: [PATCH] yank script WIP --- examples/scripts/yank.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 examples/scripts/yank.sh diff --git a/examples/scripts/yank.sh b/examples/scripts/yank.sh new file mode 100755 index 0000000..0429f19 --- /dev/null +++ b/examples/scripts/yank.sh @@ -0,0 +1,10 @@ +# use this script to pipe any variable to xclip, so you have it in your clipboard +exit +# this script is not done yet + +# can we make this universal? +# add xclip to optdeps + +which xclip &>/dev/null || exit 1 + +echo -n `eval "$3"` #| xclip \ No newline at end of file -- 1.7.9.5