aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/preview2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/preview b/scripts/preview
index 29cb751..b941c30 100755
--- a/scripts/preview
+++ b/scripts/preview
@@ -71,6 +71,8 @@ case $filetype in
echo "$fileinfo"
if command -v img2txt > /dev/null; then
img2txt -H $(($lines -1)) "$path"
+ else
+ echo "No available image previewer: consider installing 'img2txt'" >&2
fi
;;
*)