framework: fixes and tweaks

This commit is contained in:
tristan 2025-04-29 01:56:09 +01:00
parent 08ec72daba
commit e97a74b983
15 changed files with 33 additions and 42 deletions

View file

@ -13,7 +13,7 @@ image () {
[ ! -f "$CACHE" ] && \
chafa -f sixel -s "$2x$3" --animate off --polite on "$1" > "$CACHE"
cat "$CACHE"
exit 1
exit 0
}
case "$(file -Lb --mime-type -- "$file")" in