aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-29 21:50:32 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-29 21:50:32 +0200
commit8337a50dcb30a0e1b5fb5654fc69d52383a14bae (patch)
treef659152938a5af6ec0b9cd86bc691c6080c5c605 /examples
parent37e1857e8aa4d77647af8055954b7a2c240cb20e (diff)
parentc11d95bcaac99e5e62f99cdeace46737a57bdde6 (diff)
merged from barrucadu
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/scripts/load_url_from_bookmarks.sh3
-rwxr-xr-xexamples/scripts/load_url_from_history.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/scripts/load_url_from_bookmarks.sh b/examples/scripts/load_url_from_bookmarks.sh
index 9b991c8..d13b990 100755
--- a/examples/scripts/load_url_from_bookmarks.sh
+++ b/examples/scripts/load_url_from_bookmarks.sh
@@ -9,4 +9,5 @@ else
fi
goto=`awk '{print $1}' $file | dmenu -i` #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes.
-[ -n "$goto" ] && echo "uri $goto" > $4
+#[ -n "$goto" ] && echo "uri $goto" > $4
+[ -n "$goto" ] && uzblctrl -s $4 -c "uri $goto"
diff --git a/examples/scripts/load_url_from_history.sh b/examples/scripts/load_url_from_history.sh
index 8978daa..cab4529 100755
--- a/examples/scripts/load_url_from_history.sh
+++ b/examples/scripts/load_url_from_history.sh
@@ -3,4 +3,5 @@
history_file=/tmp/uzbl.history
goto=`awk '{print $3}' $history_file | sort | uniq | dmenu -i`
-[ -n "$goto" ] && echo "uri $goto" > $4
+#[ -n "$goto" ] && echo "uri $goto" > $4
+[ -n "$goto" ] && uzblctrl -s $4 -c "uri $goto"