Updated version....

http://growldiscuss.googlegroups.com/web/GeekToolGrowlLogV2.rb

On Apr 25, 11:03 pm, Peter Hosey <[email protected]> wrote:
> 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”
>

Ah, ok. In the new version I just added and exclude option, so you can
filter out lines you don't want to see if they contain a given string,
so you could do:

 GeekToolGrowlLog.rb -i Adium,FMenu -e "(User Went Idle)" -n 25


> > `cp .buffer #{$file}; rm .buffer`
>
> Why not just mv .buffer #{$file}?

duh. I was hungover when I wrote this :)
--~--~---------~--~----~------------~-------~--~----~
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