#!/bin/bash
#
# Auto-screenshot taker
#
# Uses xsnap and ssh to take snapshot of a region or window
# and upload it to a remote server to quickly share it.
#
# Copyright (C) 2009 Samuele ~redShadow~ Santi - Under GPL v3
# Please visit : http://www.hackzine.org
#
# TODO find a better way to handle ssh key request
# we assume that you're using ssh-agent and have the key registered,
# otherwise there could be some problems / unknown behaviours
# Also, on Xfce, adding a launcher with "Run in terminal" flag on
# does the job since terminal is launched in background..
# Or, there is some programs that ask ...