Images: Add backend for caca
This commit is contained in:
parent
5ade44b9b3
commit
06acbacb74
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -2380,6 +2380,12 @@ display_image() {
|
||||||
text_padding="$((columns / 2 + gap))"
|
text_padding="$((columns / 2 + gap))"
|
||||||
zws=
|
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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue