Limit jp2a output height to 50

This commit is contained in:
BBaoVanC 2020-12-26 16:40:56 -06:00
parent 0a8bbb0c2d
commit d3aa525839
No known key found for this signature in database
GPG key ID: 18089E4E3CCF1D3A

View file

@ -23,7 +23,7 @@ esac
url=$(curl -fsSL "$imgurl" | jq -r ".url")
curl -fsSLo "$tmpfile.jpg" "$url"
jp2a "$tmpfile.jpg" > "$tmpfile"
jp2a --height=50 "$tmpfile.jpg" > "$tmpfile"
neofetch --source "$tmpfile"
rm "$tmpfile" "$tmpfile.jpg"