summaryrefslogtreecommitdiff
path: root/qutebrowser/.local/share
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-05-25 18:27:10 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-05-25 18:27:10 +0100
commitc181fd22e9852af8b5b8a457800481418f4eb7e0 (patch)
treeb4a134c0f52ab6a0e44e586c4d9c16f83a739126 /qutebrowser/.local/share
parent6575e05ef82bfb4ed7c4805643e1eaad61624da4 (diff)
[qutebrowser] Add zathura-open userscript
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