summaryrefslogtreecommitdiff
path: root/qutebrowser/userscripts/quickmarks-dmenu
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/userscripts/quickmarks-dmenu')
-rwxr-xr-xqutebrowser/userscripts/quickmarks-dmenu7
1 files changed, 7 insertions, 0 deletions
diff --git a/qutebrowser/userscripts/quickmarks-dmenu b/qutebrowser/userscripts/quickmarks-dmenu
new file mode 100755
index 0000000..354b398
--- /dev/null
+++ b/qutebrowser/userscripts/quickmarks-dmenu
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+url=$(cat ~/.config/qutebrowser/quickmarks | dmenu -i -l 15 | awk '{print $NF}')
+
+[ -z ${url} ] && exit
+
+echo "open $url" >> "$QUTE_FIFO"