nnn/plugins/imgthumb

18 lines
308 B
Text
Raw Normal View History

2019-07-12 00:03:10 +05:30
#!/usr/bin/env sh
# Description: View thumbnail of an image or a directory of images with lsix
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
2020-11-22 20:09:14 +05:30
if [ -n "$1" ]; then
2019-07-12 00:03:10 +05:30
if [ -d "$1" ]; then
lsix "$1"/*
else
lsix "$1"
fi
2019-11-22 02:14:25 +05:30
printf "Press any key to exit..."
read -r _
2019-07-12 00:03:10 +05:30
fi