Skip to content

Instantly share code, notes, and snippets.

Created April 11, 2014 03:41
Show Gist options
  • Save anonymous/10439766 to your computer and use it in GitHub Desktop.
Save anonymous/10439766 to your computer and use it in GitHub Desktop.
#!/bin/sh
$Parent window id:' | /usr/bin/replace ' Parent window id:' `/bin/date +%F-%H:%M:%S ` >> /home/alex/dm.log
/usr/bin/import -window root -display :0 jpg:- > /home/alex/ss/`date +%F-%H%M%S`.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment