From 594d645e259083b217518ef0507edfe5395711af Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 22 Nov 2019 17:51:13 +0530 Subject: Rename plugins, group related ones --- plugins/imgthumb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 plugins/imgthumb (limited to 'plugins/imgthumb') diff --git a/plugins/imgthumb b/plugins/imgthumb new file mode 100755 index 0000000..8882115 --- /dev/null +++ b/plugins/imgthumb @@ -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 + + printf "Press any key to exit..." + read -r _ +fi -- cgit v1.2.3-70-g09d2