From 0b052006d64f176a85e562f57df94c0d4d05fc39 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 8 Jun 2009 22:50:43 +0200 Subject: [PATCH] keybind to start a new uzbl instance from the page in primary selection --- examples/config/uzbl/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index dcb00fd..e7c03dc 100644 --- a/examples/config/uzbl/config +++ b/examples/config/uzbl/config @@ -147,6 +147,8 @@ bind y2url = sh 'echo -n $6 | xclip' bind p = sh 'echo "uri `xclip -selection primary -o`" > $4' # go to the page in clipboard bind P = sh 'echo "uri `xclip -selection clipboard -o`" > $4' +# start a new uzbl instance from the page in primary selection +bind 'p = sh 'exec uzbl --uri $(xclip -o)' bind ZZ = exit bind Xs = js alert("hi"); # example showing how to use sh -- 1.7.9.5