diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-08 22:50:43 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-08 22:50:43 +0200 |
commit | 0b052006d64f176a85e562f57df94c0d4d05fc39 (patch) | |
tree | f5b6c8fd3cff56de12b853638e0069b4656ca942 /examples | |
parent | 087bca445cd96d69a5fe9aa56b7ba88e9f9f7de6 (diff) |
keybind to start a new uzbl instance from the page in primary selection
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/uzbl/config | 2 |
1 files changed, 2 insertions, 0 deletions
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 |