summaryrefslogtreecommitdiffstats
path: root/.local/bin/bukuopener
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 09:58:48 +0300
committerYigit Sever2021-10-29 09:58:48 +0300
commit0d4f98213b7784f965529197c58564dae06c0ca2 (patch)
tree81eac6bc01a65e0e423eed569b957606246a3a49 /.local/bin/bukuopener
parente2a1c5380439b2459ba5a6d007bb870fbab07a76 (diff)
downloaddotfiles-0d4f98213b7784f965529197c58564dae06c0ca2.tar.gz
dotfiles-0d4f98213b7784f965529197c58564dae06c0ca2.tar.bz2
dotfiles-0d4f98213b7784f965529197c58564dae06c0ca2.zip
bukuopener: handle multiple links
Diffstat (limited to '.local/bin/bukuopener')
-rwxr-xr-x.local/bin/bukuopener2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/bukuopener b/.local/bin/bukuopener
index aceacd2..c466789 100755
--- a/.local/bin/bukuopener
+++ b/.local/bin/bukuopener
@@ -3,5 +3,5 @@
3url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2) 3url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2)
4 4
5if [ -n "$url" ]; then 5if [ -n "$url" ]; then
6 xdg-open "$url" 6 printf '%s\n' "$url" | xargs -L1 xdg-open
7fi 7fi