diff options
author | Barrucadu <mike@barrucadu.co.uk> | 2009-04-29 19:01:48 +0100 |
---|---|---|
committer | Barrucadu <mike@barrucadu.co.uk> | 2009-04-29 19:01:48 +0100 |
commit | 353aefa427b0153fe1db25781771bf1c52fab4d6 (patch) | |
tree | df1fa481c42718c0fecb00d7ed3d5da01d533028 /examples | |
parent | 2818ff21932004cc1fb2e39f64fa42921cb51863 (diff) |
Replaced FIFO interface with socket.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/scripts/load_url_from_bookmarks.sh | 2 | ||||
-rwxr-xr-x | examples/scripts/load_url_from_history.sh | 2 |
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" |