Re: [wmii] snap: 20060401, easier wmiirc for config shortcuts

From: Steffen Liebergeld <perl_AT_gmx.org>
Date: Thu, 06 Apr 2006 11:22:10 +0200

On Thu, 6 Apr 2006 08:41:14 +0200, "Anselm R. Garbe" <garbeam_AT_wmii.de> 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.

-- 
Microsoft is simply one example of a proprietary software developer, a
software developer that tries to subjugate users to keep them divided
and helpless. -- Richard M. Stallman
Received on Thu Apr 06 2006 - 11:22:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:01:54 UTC