#!/bin/sh

find ${@:-.} -mindepth 1 \
             -maxdepth 1 \
             -type f \( -iname "*.jpg"  \
                     -o -iname "*.jpeg" \
                     -o -iname "*.png"  \
                     -o -iname "*.tif"  \
                     -o -iname "*.gif"  \
                     -o -iname "*.heic" \
                     -o -iname "*.dng" \
                     \) | sort | nsxiv -ati
