summaryrefslogtreecommitdiffstats
path: root/.local/bin/bukuopener
blob: 0378810e475c2477137c787829ea4ea11ba068db (plain)
1
2
3
4
5
6
7
#!/usr/bin/env sh

url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2)

if [ -n "$url" ]; then
    echo "$url" | xargs brave
fi