Re: [dev] wmii: Question on wmiirc_local.py

2009-10-07 Thread Moritz Wilhelmy
On Tue, Oct 06, 2009 at 06:38:01PM -0700, Suraj Kurapati wrote: On Tue, Oct 6, 2009 at 1:49 PM, Kris Maglione maglion...@gmail.com wrote: I've thought about changing them all to Mod4, actually. Hurray! +1 The people without a Super-Key should just remap their capslock or something like

Re: [dev] wmii: Question on wmiirc_local.py

2009-10-07 Thread Thomas Dahms
On Tue, 6 Oct 2009, Kris Maglione wrote: On Wed, Sep 30, 2009 at 03:09:43PM -0400, Kris Maglione wrote: Well, to start with, you don't need to import all of those modules. Aside from that, you bring up a good point: key bindings are interpolated from events.keydefs when they're defined.

Re: [dev] wmii: Question on wmiirc_local.py

2009-10-07 Thread Kris Maglione
On Thu, Oct 08, 2009 at 12:21:57AM +0200, Thomas Dahms wrote: - pygmi has to be imported into wmiirc_local.py. This should be documented somewhere. I rather thought that would be a given. Very rarely does a python script start with special variables or modules in its namespace, even when

Re: [dev] wmii: Question on wmiirc_local.py

2009-10-06 Thread Suraj Kurapati
On Tue, Oct 6, 2009 at 1:49 PM, Kris Maglione maglion...@gmail.com wrote: I've thought about changing them all to Mod4, actually. Hurray! +1

[dev] wmii: Question on wmiirc_local.py

2009-09-30 Thread Thomas Dahms
Hi, I tried the Python wmiirc today. As I understand the documentation, all I have to do is put wmiirc_local.py to ~/.wmii-hg and leave everything else in /etc. Then wmii -r python/wmiirc starts with the Python wmiirc, but anything in wmiirc_local.py is ignored. So far I tried only key bindings

Re: [dev] wmii: Question on wmiirc_local.py

2009-09-30 Thread Kris Maglione
On Wed, Sep 30, 2009 at 08:53:59PM +0200, Thomas Dahms wrote: I tried the Python wmiirc today. As I understand the documentation, all I have to do is put wmiirc_local.py to ~/.wmii-hg and leave everything else in /etc. Then wmii -r python/wmiirc starts with the Python wmiirc, but anything in

Re: [dev] wmii: Question on wmiirc_local.py

2009-09-30 Thread Thomas Dahms
On Wed, 30 Sep 2009 15:09:43 -0400 Kris Maglione maglion...@gmail.com wrote: Well, to start with, you don't need to import all of those modules. Aside from that, you bring up a good point: key bindings are interpolated from events.keydefs when they're defined. You're changing them after

Re: [dev] wmii: Question on wmiirc_local.py

2009-09-30 Thread Thomas Dahms
On Wed, 30 Sep 2009 15:09:43 -0400 Kris Maglione maglion...@gmail.com wrote: For now, just copy wmiirc.py to ~/.wmii and edit that. I should have tried before replying. This did not work. I had to copy the whole python/ from /etc/wmii-hg to ~/.wmii-hg and edit wmiirc.py in there. I guess the