aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/config/config1
-rwxr-xr-xexamples/data/scripts/follow.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index b8312e5..8ed533f 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -346,6 +346,7 @@ set follow_hint_keys = 0123456789
@cbind fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'click') >\@
@cbind Fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'newwindow') >\@
@cbind fL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ set
+@cbind FL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ clipboard
@cbind fi = spawn @scripts_dir/go_input.sh
# Form filler binds
diff --git a/examples/data/scripts/follow.sh b/examples/data/scripts/follow.sh
index 01a4f91..262aec3 100755
--- a/examples/data/scripts/follow.sh
+++ b/examples/data/scripts/follow.sh
@@ -23,5 +23,8 @@ case "$result" in
set)
printf 'uri '"$uri"'\nset mode=\nevent KEYCMD_CLEAR\n' > "$UZBL_FIFO"
;;
+ clipboard)
+ printf "$uri" | xclip
+ ;;
esac
esac