aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2010-08-25 17:14:24 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2010-08-25 17:14:24 +0200
commit7d0239cb7d55191e92121e8e96ece024f17a6042 (patch)
tree2412836f6f015dae0535ea55bb04743fc1853003 /examples/config
parent983bba3d221147ab52d852dc80fad9f47f43467a (diff)
parent3f33558e48612004b70d0b726f7e5651b6f67ea1 (diff)
Merge remote branch 'luca/experimental' into experimental
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/config/config b/examples/config/config
index 51f68d9..cad9f92 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -255,8 +255,8 @@ set ebind = @mode_bind global,-insert
@cbind gh = uri http://www.uzbl.org
# Yanking & pasting binds
-@cbind yu = sh 'echo -n $6 | xclip'
-@cbind yy = sh 'echo -n $7 | xclip'
+@cbind yu = sh 'printf $6 | xclip'
+@cbind yy = sh 'printf $7 | xclip'
# Go the page from primary selection
@cbind p = sh 'echo "uri `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'
@@ -268,7 +268,7 @@ set ebind = @mode_bind global,-insert
@bind <Shift-Insert> = sh 'echo "event INJECT_KEYCMD `xclip -o | sed s/\\\@/%40/g`" > $4'
# Bookmark inserting binds
-@cbind <Ctrl>b<tags:>_ = sh 'echo -e "$6 %s" >> $XDG_DATA_HOME/uzbl/bookmarks'
+@cbind <Ctrl>b<tags:>_ = sh 'echo `printf "$6 %s"` >> $XDG_DATA_HOME/uzbl/bookmarks'
# Or use a script to insert a bookmark.
@cbind B = spawn @scripts_dir/insert_bookmark.sh