aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/session.sh
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-11-30 14:14:03 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2010-11-30 14:14:03 -0700
commite10cc95403afcfa73874adedd7fcd8ad062c955e (patch)
tree2895da3b7696a62369e3179adb4ebfe7f29a087e /examples/data/scripts/session.sh
parent7e1ff10438064872195b584ba6f94a14cb2acc28 (diff)
parente293bf512759ac46b48707bac376d04400d5e27d (diff)
Merge commit 'e293bf' into experimental
Diffstat (limited to 'examples/data/scripts/session.sh')
-rwxr-xr-xexamples/data/scripts/session.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/data/scripts/session.sh b/examples/data/scripts/session.sh
index 00f4346..eb01f51 100755
--- a/examples/data/scripts/session.sh
+++ b/examples/data/scripts/session.sh
@@ -32,7 +32,8 @@ UZBL="uzbl-browser -c $UZBL_CONFIG_FILE" # add custom flags and whatever here.
if [ $# -gt 1 ]; then
# this script is being run from uzbl, rather than standalone
- . "$UZBL_UTIL_DIR"/uzbl-args.sh
+ # discard the uzbl arguments
+ shift 7
fi
scriptfile=$(readlink -f $0) # this script
@@ -61,7 +62,7 @@ case $act in
echo "session manager: endinstance must be called from uzbl"
exit 1
fi
- [ "$UZBL_URL" != "(null)" ] && echo "$UZBL_URL" >> "$UZBL_SESSION_FILE"
+ [ "$UZBL_URI" != "(null)" ] && echo "$UZBL_URI" >> "$UZBL_SESSION_FILE"
echo exit > "$UZBL_FIFO"
;;