summaryrefslogtreecommitdiff
path: root/.qutebrowser/userscripts/quickmarks-dmenu
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-05 22:42:00 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-05 22:42:00 +0000
commite9e9aedc7cf7f521485fcde69e36a117fd3ba70d (patch)
tree095e3da8a73d7e95ca00e30fab0ecbd42e439665 /.qutebrowser/userscripts/quickmarks-dmenu
parentb39a06039d752855abaa2141404eb10f2d261a41 (diff)
Use dmenu for quickmarks and bookmarks
Diffstat (limited to '.qutebrowser/userscripts/quickmarks-dmenu')
-rwxr-xr-x.qutebrowser/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"