#!/bin/sh trap 'xset s on +dpms; trap '' 0; exit' 0 1 2 3 13 15 xset s off -dpms while :; do oifs="$IFS" IFS=" " for f in $(find . -type f ! -path '*/.xvpics/*' ! -path '*/thumb/*' \ ! -name '[0-9][0-9][0-9]thumb.???' | sort); do [ "$IFS" = "oifs" ] || IFS="oifs" showimg -s "$f" done done .