#!/bin/sh echo You have 5 seconds to prepare the window. echo The file will be $HOME/screenshot.png sleep 5 import -window root ~/screenshot.png