@ 260802.2
current
#!/bin/sh

if [ -z "$1" ]; then
    echo "Usage: $(basename $0) <file>" >&2
    exit 1
fi

file="$1"
sleep 3
echo "select a window!"
scrot -s "$file"

sound=/usr/share/sounds/freedesktop/stereo/screen-capture.oga
if [ -r "$sound" ]; then
  ogg123 "$sound"
fi