diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-11-30 14:14:03 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-11-30 14:14:03 -0700 |
commit | e10cc95403afcfa73874adedd7fcd8ad062c955e (patch) | |
tree | 2895da3b7696a62369e3179adb4ebfe7f29a087e /examples/data/scripts/session.sh | |
parent | 7e1ff10438064872195b584ba6f94a14cb2acc28 (diff) | |
parent | e293bf512759ac46b48707bac376d04400d5e27d (diff) |
Merge commit 'e293bf' into experimental
Diffstat (limited to 'examples/data/scripts/session.sh')
-rwxr-xr-x | examples/data/scripts/session.sh | 5 |
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" ;; |