diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 11:36:32 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:29 -0400 |
commit | eeab3def726000c36cc0ba36ca0506b2eecbaf49 (patch) | |
tree | 447c89e3f4659cacf3d55d52a7b1dba4906220ae /examples/data/scripts/load_url_from_bookmarks.sh | |
parent | 391ffa73dfa46beea7dff2c9789a5f56a39227c4 (diff) |
Migrate to using uzbl-args util script
Diffstat (limited to 'examples/data/scripts/load_url_from_bookmarks.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_bookmarks.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/data/scripts/load_url_from_bookmarks.sh b/examples/data/scripts/load_url_from_bookmarks.sh index 9a955ec..3bcb60f 100755 --- a/examples/data/scripts/load_url_from_bookmarks.sh +++ b/examples/data/scripts/load_url_from_bookmarks.sh @@ -2,6 +2,7 @@ #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes. +source $UZBL_UTIL_DIR/uzbl-args.sh source $UZBL_UTIL_DIR/uzbl-dir.sh [ -r "$UZBL_BOOKMARKS_FILE" ] || exit 1 @@ -17,5 +18,5 @@ else goto=$(awk '{print $1}' $UZBL_BOOKMARKS_FILE | $DMENU $COLORS) fi -#[ -n "$goto" ] && echo "uri $goto" > $4 -[ -n "$goto" ] && echo "uri $goto" | socat - unix-connect:$5 +#[ -n "$goto" ] && echo "uri $goto" > $UZBL_FIFO +[ -n "$goto" ] && echo "uri $goto" | socat - unix-connect:$UZBL_SOCKET |