diff options
author | Yigit Sever | 2021-10-08 00:05:34 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-08 00:05:34 +0300 |
commit | 75d6e605a64d2f862942afb57f1ff5668d60ae52 (patch) | |
tree | 8d9da281e33f1f58b5e5d063ec0de4e9a3777cb4 /.local/bin/bukuopener | |
parent | 0287e6b35edab6c2694a8c59f5a5195e0de13014 (diff) | |
download | dotfiles-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/bukuopener | 7 |
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 | |||
3 | url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2) | ||
4 | |||
5 | if [ -n "$url" ]; then | ||
6 | echo "$url" | xargs brave | ||
7 | fi | ||