aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/config/uzbl/config2
-rwxr-xr-xuzbl-browser1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index fd5fe52..e002178 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -123,7 +123,7 @@ set socket_dir = /tmp
@bind gg _ = uri http://www.google.com/search?q=%s
# Enclose the executable in quotes if it has spaces. Any additional parameters you use will
# appear AFTER the default parameters
-#@bind B = spawn @scripts_dir}/insert_bookmark.sh
+#@bind B = spawn @scripts_dir/insert_bookmark.sh
@bind U = spawn @scripts_dir/load_url_from_history.sh
@bind u = spawn @scripts_dir/load_url_from_bookmarks.sh
# with the sample yank script, you can yank one of the arguments into clipboard/selection
diff --git a/uzbl-browser b/uzbl-browser
index f5ad14b..202db11 100755
--- a/uzbl-browser
+++ b/uzbl-browser
@@ -31,6 +31,7 @@ SOCKET_PATH="$SOCKET_DIR/uzbl_socket_$SOCKET_ID"
uzbl-core "$@" -n $SOCKET_ID &
$XDG_DATA_HOME/uzbl/scripts/event_manager.py -vs $SOCKET_PATH
+# TODO: make posix sh compliant. [ -S ] is said to not work. what about test -S ?
if [[ -S $SOCKETPATH ]]
then
rm $SOCKET_PATH