diff options
Diffstat (limited to 'examples/config/uzbl/config')
-rw-r--r-- | examples/config/uzbl/config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index ce75ecd..9dc4a35 100644 --- a/examples/config/uzbl/config +++ b/examples/config/uzbl/config @@ -262,8 +262,8 @@ set toggle_cmd_ins = @toggle_modes command insert @cbind gh = uri http://www.uzbl.org # --- Yanking & pasting binds --- -@cbind y<Yank:>url = sh 'echo -n $6 | xclip' -@cbind y<Yank:>title = sh 'echo -n $7 | xclip' +@cbind y<Yank (t)itle or (u)rl:>* = @jsh if('%s' == 'u') { run("sh 'echo -n $6 | xclip'"); } else if('%s' == 't') { run("sh 'echo -n $7 | xclip'"); }; run('event SET_KEYCMD'); + # Go the page from primary selection @cbind p = sh 'echo "uri `xclip -selection primary -o`" > $4' # Go to the page in clipboard |