Images: Add backend for caca
This commit is contained in:
parent
5ade44b9b3
commit
06acbacb74
6
neofetch
6
neofetch
|
@ -2380,6 +2380,12 @@ display_image() {
|
|||
text_padding="$((columns / 2 + gap))"
|
||||
zws=
|
||||
;;
|
||||
|
||||
"caca")
|
||||
img2txt -W "$((width / font_width))" -H "$((height / font_height))" --gamma=0.6 "$image" || to_off "Images: catimg failed to display the image."
|
||||
text_padding="$((columns / 2 + gap))"
|
||||
zws=
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue