summaryrefslogtreecommitdiff
path: root/.uzbl/scripts/mytest.sh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-11-09 10:53:57 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-11-09 10:53:57 +0000
commitbe98b19ba0cfd30edeafedca9629231fd829fd3e (patch)
tree8636953f012f7fde3580d8d8878cdeee7ff60a1d /.uzbl/scripts/mytest.sh
parent4fb3ea1cc4ec9321927588f73189a48413dd8387 (diff)
Add script to open downloads
Diffstat (limited to '.uzbl/scripts/mytest.sh')
-rwxr-xr-x.uzbl/scripts/mytest.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/.uzbl/scripts/mytest.sh b/.uzbl/scripts/mytest.sh
deleted file mode 100755
index f310e49..0000000
--- a/.uzbl/scripts/mytest.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-. "$UZBL_UTIL_DIR/uzbl-dir.sh"
-
->> "$UZBL_BOOKMARKS_FILE" || exit 1
-
-which zenity >/dev/null 2>&1 || exit 2
-
-tags="$( zenity --entry --text="Enter space-separated tags for bookmark $UZBL_URI:" )"
-exitstatus="$?"
-[ "$exitstatus" -eq 0 ] || exit "$exitstatus"
-
-# TODO: check if already exists, if so, and tags are different: ask if you want to replace tags
-echo "$UZBL_URI $tags" >> "$UZBL_BOOKMARKS_FILE"