diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-11-24 14:04:04 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-11-24 14:04:04 -0700 |
commit | c7a70bb3132f970836dee9066f623ca43de35d4d (patch) | |
tree | 6060a8b4d3baf32c04a7466f0bd22a8d97de536f /examples/data/scripts/load_url_from_bookmarks.sh | |
parent | 962f224593271de64cc5b2633e202566200385bd (diff) | |
parent | 344bc3f53ade206bafb8466645c8ed57e49f1b62 (diff) |
Merge branch 'dev/cleanup-scripts'
Conflicts:
examples/data/scripts/insert_bookmark.sh
examples/data/scripts/load_url_from_bookmarks.sh
examples/data/scripts/load_url_from_history.sh
examples/data/scripts/session.sh
Diffstat (limited to 'examples/data/scripts/load_url_from_bookmarks.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_bookmarks.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/data/scripts/load_url_from_bookmarks.sh b/examples/data/scripts/load_url_from_bookmarks.sh index 9af83c3..9346526 100755 --- a/examples/data/scripts/load_url_from_bookmarks.sh +++ b/examples/data/scripts/load_url_from_bookmarks.sh @@ -5,19 +5,19 @@ DMENU_SCHEME="bookmarks" DMENU_OPTIONS="xmms vertical resize" -. $UZBL_UTIL_DIR/dmenu.sh -. $UZBL_UTIL_DIR/uzbl-args.sh -. $UZBL_UTIL_DIR/uzbl-dir.sh +. "$UZBL_UTIL_DIR"/dmenu.sh +. "$UZBL_UTIL_DIR"/uzbl-args.sh +. "$UZBL_UTIL_DIR"/uzbl-dir.sh [ -r "$UZBL_BOOKMARKS_FILE" ] || exit 1 if [ -z "$DMENU_HAS_VERTICAL" ]; then # because they are all after each other, just show the url, not their tags. - goto=$(awk '{print $1}' $UZBL_BOOKMARKS_FILE | $DMENU) + goto=$(awk '{print $1}' "$UZBL_BOOKMARKS_FILE" | $DMENU) else # show tags as well - goto=$($DMENU < $UZBL_BOOKMARKS_FILE | awk '{print $1}') + goto=$($DMENU < "$UZBL_BOOKMARKS_FILE" | awk '{print $1}') fi -#[ -n "$goto" ] && echo "uri $goto" > $UZBL_FIFO -[ -n "$goto" ] && echo "uri $goto" | socat - unix-connect:$UZBL_SOCKET +[ -n "$goto" ] && echo "uri $goto" > "$UZBL_FIFO" +#[ -n "$goto" ] && echo "uri $goto" | socat - unix-connect:"$UZBL_SOCKET" |