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