Script and README

This commit is contained in:
Joshua Sherman 2014-01-14 22:31:15 -05:00
parent 886e19ac7c
commit c07a3220cc
2 changed files with 23 additions and 0 deletions

View file

@ -1,2 +1,10 @@
py-gmail-unread
===============
I wanted to inject the number of unread messages I have into my ZSH prompt and
obviously I needed a way to get the unread count. This script should be set up
in cron to run periodically as it's a bit too slow for inline calls. Depends on
the EMAIL environment variable as well as your password being loaded up into
the OSX keychain under the name "email" using your password as the account. The
script saves the unread count out to /tmp/GMAIL_UNREAD and then you can do
whatever the fuck you want do to with it, as long as it's not illegal.