#!/bin/bash

max=5                   # how many shots to take
pause=1                 # pause between shots

count=1

while
        [ $count -le $max ]
do
        sleep $pause
        import -window root shot$x.gif
        let count=count+1
done                                                              
