aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imgviu
blob: 200a4591cb1e5ab1213933deb602d57930760b2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh

# Description: View an image or images in a directory in $PAGER
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana

if ! [ -z "$1" ]; then
    viu -n "$1" | less -R
fi