jml/undistract-me — pull request #22 by maciel310 (2013-12-04 23:16:00+00:00)
Title: Added ability email notification when screen is locked

Hi, first of all great script, it has been very convenient.

I made a fairly simple modification to allow sending a notification email if the screen is locked. Not sure if you'll want to pull it in since the way of detecting if the screen is locked isn't very portable across Linux distributions, but I figured I'd send the Pull Request anyway. Maybe you'll be able to come up with a more universal way of detecting this.