From 06acbacb74f6d789f29b10472bc1b091ca77c1cd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Jan 2017 15:43:34 +1100 Subject: [PATCH] Images: Add backend for caca --- neofetch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neofetch b/neofetch index de748d33..cc749238 100755 --- a/neofetch +++ b/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 }