aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-29 19:01:48 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-29 19:01:48 +0100
commit353aefa427b0153fe1db25781771bf1c52fab4d6 (patch)
treedf1fa481c42718c0fecb00d7ed3d5da01d533028 /examples
parent2818ff21932004cc1fb2e39f64fa42921cb51863 (diff)
Replaced FIFO interface with socket.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/scripts/load_url_from_bookmarks.sh2
-rwxr-xr-xexamples/scripts/load_url_from_history.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/scripts/load_url_from_bookmarks.sh b/examples/scripts/load_url_from_bookmarks.sh
index ca512eb..7dffafe 100755
--- a/examples/scripts/load_url_from_bookmarks.sh
+++ b/examples/scripts/load_url_from_bookmarks.sh
@@ -9,4 +9,4 @@ else
fi
goto=`awk '{print $1}' $file | dmenu` #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" ] && 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 366aedf..08cf413 100755
--- a/examples/scripts/load_url_from_history.sh
+++ b/examples/scripts/load_url_from_history.sh
@@ -3,4 +3,4 @@
history_file=/tmp/uzbl.history
goto=`awk '{print $3}' $history_file | sort | uniq | dmenu`
-[ -n "$goto" ] && echo "uri $goto" > $4
+[ -n "$goto" ] && uzblctrl -s $4 -c "uri $goto"