From 0d4f98213b7784f965529197c58564dae06c0ca2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 09:58:48 +0300 Subject: bukuopener: handle multiple links --- .local/bin/bukuopener | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2) if [ -n "$url" ]; then - xdg-open "$url" + printf '%s\n' "$url" | xargs -L1 xdg-open fi -- cgit v1.2.3-70-g09d2