update previewer

This commit is contained in:
Ray Elliott 2021-10-12 18:59:12 +01:00
parent d96eab75d3
commit b58f9aaac8
1 changed files with 5 additions and 0 deletions

View File

@ -5,5 +5,10 @@ case "$1" in
*.rar) unrar l "$1";;
*.7z) 7z l "$1";;
*.pdf) pdftotext "$1" -;;
*.jpg) img2txt "$1";;
*.jpeg) img2txt "$1";;
*.png) img2txt "$1";;
*.gif) img2txt "$1";;
*.bmp) img2txt "$1";;
*) bat --plain --color always --theme base16 "$1";;
esac