summaryrefslogtreecommitdiff
path: root/qutebrowser/.local/share
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/.local/share')
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/bookmarks-dmenu7
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/zathura-open7
2 files changed, 7 insertions, 7 deletions
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/bookmarks-dmenu b/qutebrowser/.local/share/qutebrowser/userscripts/bookmarks-dmenu
deleted file mode 100755
index 0f89413..0000000
--- a/qutebrowser/.local/share/qutebrowser/userscripts/bookmarks-dmenu
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-url=$(cat ~/.config/qutebrowser/bookmarks/urls | dmenu -i -l 15 | awk '{print $1}')
-
-[ -z ${url} ] && exit
-
-echo "open $url" >> "$QUTE_FIFO"
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open b/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open
new file mode 100755
index 0000000..69b9dd1
--- /dev/null
+++ b/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+fname=/tmp/${RANDOM}.pdf
+
+echo ${QUTE_URL} > ~/testurl
+curl ${QUTE_URL} > ~/test.pdf
+nohup zathura ~/test.pdf