Hi,

On Thu, Apr 06, 2006 at 11:22:43AM +0200, [EMAIL PROTECTED] wrote:
> On Thu, 6 Apr 2006 08:41:14 +0200, "Anselm R. Garbe" <[EMAIL PROTECTED]> said:
> > On Wed, Apr 05, 2006 at 12:01:49PM -0700, Suraj N. Kurapati wrote:
> >> # SHORTCUTS
> >> +
> >> +# wmii +shortcut_reloadConfig=$MODKEY-Control-w,y
> >> +shortcut_quit=$MODKEY-Control-q,y
> 
> > Sorry, this looks much more cumbersome to me.  In the old way I see
> > exactly what happens if a specific shortcut is reported by /event in
> > wmiirc, with this approach wether I trust the variable name or I
> > have to recheck... you have much overhead in maintaining this in my
> > eyes...
> 
> Hint: SPOT-rule (Single point of truth)
> 
> I know at least three people who looked at the wmiirc and said it is
> shit. And -as it is very likely lots of people will look at the
> scripts-, we should try to make every effort to keep them clean and
> consistent.
> 
> So please consider a way to have keycodes/shurtcuts without having to
> define them on two distinct places.

If someone presents a nice idea which works with sh, maybe in
conjunction with awk, I'm open to do it. Otherwise blame X that
it needs to grab shortcuts and there is no portable way to get
keyboard events in any other way.

Regards,
-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to