aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/insert_temp.sh3
-rwxr-xr-xexamples/data/scripts/load_url_from_temps.sh5
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/data/scripts/insert_temp.sh b/examples/data/scripts/insert_temp.sh
index a67b645..7ed8d22 100755
--- a/examples/data/scripts/insert_temp.sh
+++ b/examples/data/scripts/insert_temp.sh
@@ -1,8 +1,7 @@
#!/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"
+echo "$UZBL_URI $UZBL_TITLE" >> "$UZBL_TEMPS_FILE"
diff --git a/examples/data/scripts/load_url_from_temps.sh b/examples/data/scripts/load_url_from_temps.sh
index 9788b0f..b46687b 100755
--- a/examples/data/scripts/load_url_from_temps.sh
+++ b/examples/data/scripts/load_url_from_temps.sh
@@ -5,7 +5,6 @@ DMENU_OPTIONS="xmms vertical resize"
. "$UZBL_UTIL_DIR/dmenu.sh"
. "$UZBL_UTIL_DIR/uzbl-dir.sh"
-. "$UZBL_UTIL_DIR/uzbl-util.sh"
[ -r "$UZBL_TEMPS_FILE" ] || exit 1
@@ -19,5 +18,5 @@ fi
sed -i -e "\<^$goto <d" $UZBL_TEMPS_FILE
-[ -n "$goto" ] && print "uri $goto\n" > "$UZBL_FIFO"
-#[ -n "$goto" ] && print "uri $goto\n" | socat - "unix-connect:$UZBL_SOCKET"
+[ -n "$goto" ] && echo "uri $goto" > "$UZBL_FIFO"
+#[ -n "$goto" ] && echo "uri $goto" | socat - "unix-connect:$UZBL_SOCKET"