Set jp2a to use 256-color by default

This commit is contained in:
BBaoVanC 2021-01-13 11:53:02 -06:00
parent 1ef8ac1e54
commit 56ee91fab1
No known key found for this signature in database
GPG key ID: 18089E4E3CCF1D3A

View file

@ -26,7 +26,7 @@ curl -fsSLo "$tmpfile.jpg" "$url"
if [ "$TERM" = "xterm-kitty" ]; then
neofetch --kitty "$tmpfile.jpg"
else
jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile"
jp2a --colors --color-depth=8 --height="$height" "$tmpfile.jpg" > "$tmpfile"
neofetch --source "$tmpfile"
fi