diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/configs/sampleconfig | 10 | ||||
-rw-r--r-- | examples/configs/sampleconfig-dev | 10 | ||||
-rwxr-xr-x | examples/scripts/insert_bookmark.sh | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/examples/configs/sampleconfig b/examples/configs/sampleconfig index 1e4d3ee..17586a4 100644 --- a/examples/configs/sampleconfig +++ b/examples/configs/sampleconfig @@ -11,8 +11,8 @@ # from insert mode by combining them with the modkey [behavior] -history_handler = /bin/bash /usr/share/uzbl/examples/scripts/history.sh -download_handler = /bin/bash /usr/share/uzbl/examples/scripts/download.sh +history_handler = /usr/share/uzbl/examples/scripts/history.sh +download_handler = /usr/share/uzbl/examples/scripts/download.sh fifo_dir = /tmp socket_dir = /tmp always_insert_mode = 0 @@ -40,9 +40,9 @@ w = follow_link_new_window t = toggle_status ZZ = exit i = insert_mode -B = spawn /bin/bash /usr/share/uzbl/examples/scripts/insert_bookmark.sh -u = spawn /bin/bash /usr/share/uzbl/examples/scripts/load_url_from_history.sh -U = spawn /bin/bash /usr/share/uzbl/examples/scripts/load_url_from_bookmarks.sh +B = spawn /usr/share/uzbl/examples/scripts/insert_bookmark.sh +u = spawn /usr/share/uzbl/examples/scripts/load_url_from_history.sh +U = spawn /usr/share/uzbl/examples/scripts/load_url_from_bookmarks.sh [network] diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev index bcba2df..b8a32b6 100644 --- a/examples/configs/sampleconfig-dev +++ b/examples/configs/sampleconfig-dev @@ -11,8 +11,8 @@ # from insert mode by combining them with the modkey [behavior] -history_handler = /bin/bash ./examples/scripts/history.sh -download_handler = /bin/bash ./examples/scripts/download.sh +history_handler = ./examples/scripts/history.sh +download_handler = ./examples/scripts/download.sh fifo_dir = /tmp socket_dir = /tmp always_insert_mode = 0 @@ -40,8 +40,8 @@ w = follow_link_new_window t = toggle_status ZZ = exit i = insert_mode -B = spawn /bin/bash ./examples/scripts/insert_bookmark.sh -u = spawn /bin/bash ./examples/scripts/load_url_from_history.sh -U = spawn /bin/bash ./examples/scripts/load_url_from_bookmarks.sh +B = spawn ./examples/scripts/insert_bookmark.sh +u = spawn ./examples/scripts/load_url_from_history.sh +U = spawn ./examples/scripts/load_url_from_bookmarks.sh [network] diff --git a/examples/scripts/insert_bookmark.sh b/examples/scripts/insert_bookmark.sh index be17c05..5d76c35 100755 --- a/examples/scripts/insert_bookmark.sh +++ b/examples/scripts/insert_bookmark.sh @@ -10,7 +10,7 @@ fi which zenity &>/dev/null || exit 2 -entry=`zenity --entry --text="Add bookmark. add tags at the end, separated by commas" --entry-text="$5"` +entry=`zenity --entry --text="Add bookmark. add tags at the end, separated by commas" --entry-text="$6"` url=`awk '{print $1}' <<< $entry` # TODO: check if already exists, if so, and tags are different: ask if you want to replace tags echo "$entry" >> $file |