From ca714eac9067a44e5e0a7136dc6077969dd961ca Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 12 Jul 2019 00:03:10 +0530 Subject: Show image thumbnails with lsix --- plugins/thumb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 plugins/thumb (limited to 'plugins/thumb') 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 -- cgit v1.2.3-70-g09d2