diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2011-03-07 13:19:18 -0500 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-04-12 21:05:10 -0600 |
commit | eb00f99bc300fc902beaeaa5385f5994ce904cdc (patch) | |
tree | 203b288d8a19f2caa364436dc9ff940be994f37f /examples/data/scripts/insert_temp.sh | |
parent | ed8f45d6eb21e5a931d55235708bcc73a2191771 (diff) |
Add utils to load/save temporary URLs for later
Diffstat (limited to 'examples/data/scripts/insert_temp.sh')
-rwxr-xr-x | examples/data/scripts/insert_temp.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/data/scripts/insert_temp.sh b/examples/data/scripts/insert_temp.sh new file mode 100755 index 0000000..a67b645 --- /dev/null +++ b/examples/data/scripts/insert_temp.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +. "$UZBL_UTIL_DIR/uzbl-dir.sh" +. "$UZBL_UTIL_DIR/uzbl-util.sh" + +>> "$UZBL_TEMPS_FILE" || exit 1 + +print "$UZBL_URI $UZBL_TITLE\n" >> "$UZBL_TEMPS_FILE" |