summaryrefslogtreecommitdiffstats
path: root/.local/bin/bukuopener
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/bukuopener')
-rwxr-xr-x.local/bin/bukuopener7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/bukuopener b/.local/bin/bukuopener
new file mode 100755
index 0000000..0378810
--- /dev/null
+++ b/.local/bin/bukuopener
@@ -0,0 +1,7 @@
1#!/usr/bin/env sh
2
3url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2)
4
5if [ -n "$url" ]; then
6 echo "$url" | xargs brave
7fi