summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/.config/qutebrowser/keys.conf39
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/bookmarks-dmenu7
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/zathura-open7
3 files changed, 28 insertions, 25 deletions
diff --git a/qutebrowser/.config/qutebrowser/keys.conf b/qutebrowser/.config/qutebrowser/keys.conf
index 9bed74f..67c4c11 100644
--- a/qutebrowser/.config/qutebrowser/keys.conf
+++ b/qutebrowser/.config/qutebrowser/keys.conf
@@ -122,24 +122,9 @@ reload -f
back
H
-back -t
- th
-
-back -w
- wh
-
forward
L
-forward -t
- tl
-
-forward -w
- wl
-
-fullscreen
- <f11>
-
hint
f
@@ -191,6 +176,9 @@ hint --rapid links window
hint links download
;d
+hint links userscript zathura-open
+ ;z
+
scroll left
h
@@ -326,9 +314,6 @@ navigate decrement
inspector
wi
-spawn --userscript dictionary-search
- gD
-
download
gd
@@ -457,6 +442,21 @@ record-macro
run-macro
@
+back -t
+ th
+
+back -w
+ wh
+
+forward -t
+ tl
+
+forward -w
+ wl
+
+fullscreen
+ <f11>
+
[insert]
# Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are
@@ -690,3 +690,6 @@ scroll up
scroll right
L
+spawn --userscript dictionary-search
+ gD
+
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