diff options
| author | 2019-07-12 00:03:10 +0530 | |
|---|---|---|
| committer | 2019-07-12 00:16:07 +0530 | |
| commit | ca714eac9067a44e5e0a7136dc6077969dd961ca (patch) | |
| tree | ad06038f69e6461337fb9c445c0dada6f5ed059b /plugins/thumb | |
| parent | 406faf63d953a582f0241398c05ef55333fb034a (diff) | |
| download | nnn-ca714eac9067a44e5e0a7136dc6077969dd961ca.tar.gz | |
Show image thumbnails with lsix
Diffstat (limited to 'plugins/thumb')
| -rwxr-xr-x | plugins/thumb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/thumb b/plugins/thumb new file mode 100755 index 0000000..10bb651 --- /dev/null +++ b/plugins/thumb @@ -0,0 +1,17 @@ +#!/usr/bin/env sh + +# Description: View thumbnail of an image or a directory of images with lsix +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +if ! [ -z "$1" ]; then + if [ -d "$1" ]; then + lsix "$1"/* + else + lsix "$1" + fi + + echo -n "Press any key to exit..." + read dummy +fi |