1
0
Fork 0

fix previewer

This commit is contained in:
Luca Bilke 2023-02-06 19:45:35 +01:00
parent 23b527fff5
commit 38b11409d4
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ image() {
h=$3
x=$4
y=$5
kitty +kitten icat --transfer-mode file --place "${w}x${h}@${x}x${y}" -- "$f"
kitty +kitten icat --transfer-mode file --place "${w}x${h}@${x}x${y}" -- "$f" && exit 1
chafa "$f" -f symbols -s "$((w-2))x$h" && exit 1
echo -e "\e[31mImage previewer not installed\e[0m"
return 1