Someone
public shellscript v1 · immutable#!/bin/bash# Location to save filesWORKINGDIR=$HOME/screenshots# Default delay before taking screenshotsDELAY=3#Prefix to use for images captured. PREFIX=screenshot# Check if the dir to store the screenshots exists, else create it: if [ ! -d "${WORKINGDIR}" ]; then mkdir "${WORKINGDIR}"; fi i=`ls -l $WORKINGDIR/$PREFIX*.png | wc -l` ((i = i+1))sleep $DELAYimport -window root $WORKINGDIR/$PREFIX-$i.png