aboutsummaryrefslogtreecommitdiffhomepage
path: root/extra
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-24 22:12:53 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-24 22:12:53 +0200
commit421d78e6d74e4aa976296a959b109c4fc40b01e3 (patch)
tree8d533e0cdb94493d2a8a9f0c94bd079f5a2aad24 /extra
parent7505d442626381200cd998a03df87b5f688d4c99 (diff)
example script to demonstrate history querying
Diffstat (limited to 'extra')
-rwxr-xr-xextra/load_url_from_history.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/load_url_from_history.sh b/extra/load_url_from_history.sh
new file mode 100755
index 0000000..4c507d1
--- /dev/null
+++ b/extra/load_url_from_history.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+history_file=/tmp/uzbl.history
+goto=`awk '{print $3}' $history_file | dmenu`
+[ -n "$goto" ] && echo "uri $goto" > /tmp/uzbl-fifo-name-TODO