diff options
Diffstat (limited to '.local/bin/bukuopener')
-rwxr-xr-x | .local/bin/bukuopener | 2 |
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 @@ | |||
3 | url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2) | 3 | url=$(buku -p -f4 | fzf -m --reverse --preview "buku --nostdin -p {1}" --preview-window=wrap | cut -f2) |
4 | 4 | ||
5 | if [ -n "$url" ]; then | 5 | if [ -n "$url" ]; then |
6 | xdg-open "$url" | 6 | printf '%s\n' "$url" | xargs -L1 xdg-open |
7 | fi | 7 | fi |