summaryrefslogtreecommitdiff
path: root/qutebrowser/userscripts/quickmarks-dmenu
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
commit3446f5387389b0e1671481c8a8fb9ea0eed519f6 (patch)
tree543bde435847c700507c3b229460b446f4a09028 /qutebrowser/userscripts/quickmarks-dmenu
parentc9f80e43f431d89bbccd1ecc68c7b48fb8c01dd4 (diff)
Remove . from dotfiles for convenience
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"