Re:Taking pictures with your MacBook every time the lid opens
by thwarted on Monday January 10, 2011 @04:50PM
(#2089876)
Here's a bunch of shell scripts I hacked up take pictures when certain events occur on linux. Could be extended to handle the lid opening or coming out of sleep, although I have a feeling that xscreensaver detecting may already handle most of that case (because I think the screensaver gets activated, or at least the screen is locked, automatically when the lid is closed).
https://github.com/thwarted/picsofourlives