Re: [dwm] [PATCH] An experiment with X resources

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 24 Sep 2007 20:38:45 +0200

On Mon, Sep 24, 2007 at 07:39:08PM +0200, Anselm R. Garbe wrote:
> I'm surprised that this only adds a minor amount of lines, so I
> really consider applying your patch to mainstream dwm. Are there
> any complains?

Yes, I thought a while about it and conclude, that when rules,
tags, and appearance can be configured using X resources, it
won't last long that the need arises to also configure the key
bindings, and the terminal command, and the dmenu command, and
what not using such capabilities.

The plain config.h approach enforces that all things which can
be customized, are configured in a single place. That's also the
reason why it always scared me to introduce the dmenu command
line args for appearance in dwm as well. If someone needs to
change the colors of dwm, he usually also will change something
else, and that's why I won't make this change appear in
mainstream dwm.

The problem with this is a more general one, like what happens
if you begin a project with C++ and forcing something to be
abstracted the OO way. This just feels wrong.

Besides this, the X resource file format always seemed insane to
me, I never changed the appearance behavior of xterm using
appropriate X resource entries. I always prefered the command
line args.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Mon Sep 24 2007 - 20:38:45 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:55:19 UTC