#!/bin/sh
#==========================================================
# Description:
#   Sleeps for 60 seconds and then takes a screenshot.
#
#   For full instructions on using this script, see:
#   http://www.keakaj.com/news/2009/10/28/screenshots-of-the-mac-os-x-login-screen
#
#   To take a picture of the login screen, save this script
#   to your Desktop as screenshot.sh, make sure the script
#   is executable, run the following command, and then log
#   out in less than 60 seconds:
#   sudo nohup bash -c ~/Desktop/screenshot.sh > ~/Desktop/nohup.out
#
#   The screenshot of the login screen will be saved on
#   your Desktop.
#
#   To customize your login screen, use the Visage Login
#   application:
#   http://keakaj.com/visagelogin.html
#
# Author:
#   Keaka Jackson
# 
# Date:
#   October 30, 2007
#
#==========================================================

sleep 60;
screencapture -t png ~/Desktop/login.png;

exit 0

