diff options
author | Jochen Sprickerhof <jochen@sprickerhof.de> | 2010-12-11 13:50:47 +0100 |
---|---|---|
committer | Jochen Sprickerhof <jochen@sprickerhof.de> | 2010-12-11 13:56:16 +0100 |
commit | f8c065feb6d420994c159073c0fce10ef6adc876 (patch) | |
tree | f1a49dca8ea29349860f2bf108c0ec9674ebce7d /examples/config/config | |
parent | b6cad81e87942b1593f81a99171fa1fff4e6d0d4 (diff) |
Quote URI when using middle click to open in new window
@SELECTED_URI is not encoded, so a URI with spaces would expand to more
than one parameter.
Diffstat (limited to 'examples/config/config')
-rw-r--r-- | examples/config/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/config/config b/examples/config/config index c5a0e86..a6651bf 100644 --- a/examples/config/config +++ b/examples/config/config @@ -183,7 +183,7 @@ set ebind = @mode_bind global,-insert # --- Mouse bindings --------------------------------------------------------- # Middle click open in new window -@bind <Button2> = sh 'if [ "$8" ]; then uzbl-browser -u "$8"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' \@SELECTED_URI +@bind <Button2> = sh 'if [ "$8" ]; then uzbl-browser -u "$8"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' '\@SELECTED_URI' # --- Keyboard bindings ------------------------------------------------------ |