summaryrefslogtreecommitdiffstats
path: root/.local/bin/bukuopener
diff options
context:
space:
mode:
authorYigit Sever2021-10-08 00:05:34 +0300
committerYigit Sever2021-10-08 00:05:34 +0300
commit75d6e605a64d2f862942afb57f1ff5668d60ae52 (patch)
tree8d9da281e33f1f58b5e5d063ec0de4e9a3777cb4 /.local/bin/bukuopener
parent0287e6b35edab6c2694a8c59f5a5195e0de13014 (diff)
downloaddotfiles-75d6e605a64d2f862942afb57f1ff5668d60ae52.tar.gz
dotfiles-75d6e605a64d2f862942afb57f1ff5668d60ae52.tar.bz2
dotfiles-75d6e605a64d2f862942afb57f1ff5668d60ae52.zip
bin: track bunch of scripts
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