the thought process behind that is that the script takes awhile to run and if run inside status() it will delay the status function a bit longer
On Mon, Feb 25, 2008 at 2:27 PM, Alex Kilgore <[EMAIL PROTECTED]> wrote: > the ls -Al thing was to correct the message count which was being returned > improperly > > Im not exactly sure what you mean by "the wmiirc refresh from the > statusbar menu" > would you please explain this in more detail? > > > On Mon, Feb 25, 2008 at 2:20 PM, Niels Rasmussen <[EMAIL PROTECTED]> > wrote: > > > Alex Kilgore skrev: > > > > > How are you calling the script > > > I did this in my .xinitrc before wmii > > > while true; do perl /home/alex/.wmii-3.5/mail.pl; sleep 60;done & > > > which should run the script every minute, you dont need to call the > > script > > > from wmiirc at all > > > > Well I just run the wmiirc refresh from the statusbar menu > > > > But wouldn't that be the same either way ?? > > > > I've tried : > > > > $mail = `ls -Al | wc -l`; > > $mail--; > > > > Didn't help :-/ > > > > -- > > /Niels > > Registered Linux user #133791 > > Get counted at http://counter.li.org > > > > > > >
