Re: [dev] Re: [wmii]clarifications on python script usage

2010-06-01 Thread Kris Maglione
On Tue, Jun 01, 2010 at 10:11:59PM +0200, pascal wrote: Thanks for the wmiirc_local.py example. I used it as a base for mine. I'm having some troubles to figure out the "mixer" plugin. I thought I would try to write an equivalent myself before asking, but I can't, I'm getting headaches. Would

[dev] Re: [wmii]clarifications on python script usage

2010-06-01 Thread pascal
Hi Kris Thanks for the wmiirc_local.py example. I used it as a base for mine. I'm having some troubles to figure out the "mixer" plugin. I thought I would try to write an equivalent myself before asking, but I can't, I'm getting headaches. Would you mind posting yours? Pascal

Re: [dev] Re: [wmii]clarifications on python script usage

2010-05-30 Thread Kris Maglione
On Sun, May 30, 2010 at 11:01:50PM +0200, pascal wrote: Le Sun, 30 May 2010 16:12:08 -0400 Kris Maglione a écrit: Why would you want any kind of locale-specific time? Here's what I do: @defmonitor(colors=wmii['focuscolors'], name='time') def s9time(self): return time.strftime('%H:%M:%S %

[dev] Re: [wmii]clarifications on python script usage

2010-05-30 Thread pascal
Le Sun, 30 May 2010 16:12:08 -0400 Kris Maglione a écrit: > I'm getting confused trying to read the above, so I'll just > explain from the begining. Yes, I was confused myself, hehe. > You don't want to copy wmiirc.py to wmiirc_local.py. The whole > point of wmiirc_local.py is that it gets cal