Skip to content

Instantly share code, notes, and snippets.

@riceissa
Created May 13, 2015 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riceissa/2016ff15e62f1e8a7336 to your computer and use it in GitHub Desktop.
Save riceissa/2016ff15e62f1e8a7336 to your computer and use it in GitHub Desktop.
randomly screenshot
#!/bin/bash
while true; do
sleep $[($RANDOM % 10) * 100 + ($RANDOM % 10) * 10 + ($RANDOM % 10) + 1]s
scrot ~/Pictures/%Y-%m-%d_%T_scrot.png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment