On Apr 25, 2009, at 14:45:57, ev wrote:
> In case this is useful to anyone, I made this to process the Growl  
> log so I can view stuff from the log using GeekTool....

Cool. A couple of code-review comments, though:

>       # Priority -1 indicates growl system info message

Not necessarily. It's valid for an application to pass -1, or for the  
user (you) to override a notification's priority to -1 (“Low”).

A better way would be to grep for the specific user-activity  
notifications:

        “Growl: User went idle”
        “Growl: User returned”

> `cp .buffer #{$file}; rm .buffer`

Why not just mv .buffer #{$file}?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to