diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-03-04 01:40:26 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-03-04 01:40:26 +0000 |
commit | 4393b8b173c0910f37734dc8fbc7acade0547542 (patch) | |
tree | 6838a1bc83f22031cc898e2ab699b81d6bd4f55f /.qutebrowser/userscripts/bookmarks-dmenu | |
parent | 05ae7f24a08be580638ca4cc843ac47cf4038016 (diff) |
Add scripts in qutebrowser config
Diffstat (limited to '.qutebrowser/userscripts/bookmarks-dmenu')
-rwxr-xr-x | .qutebrowser/userscripts/bookmarks-dmenu | 7 |
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" |