summaryrefslogtreecommitdiff
path: root/.qutebrowser/userscripts/quickmarks-dmenu
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-07 13:41:07 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-07 13:41:07 +0000
commit654f1d4dd3162c3de8757bc12f400f54cb62a219 (patch)
tree703c0c1997b2e81bc6cffee73bc41e3f869b9a3a /.qutebrowser/userscripts/quickmarks-dmenu
parent254bf227cb7e0eb430fd59e175fa10d9b9e7baee (diff)
parente89978a706940338caa413a9a385863a1d52998f (diff)
Merge branch 'master' of urbainvaes.com:dotfiles
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"