[dwm] configuration

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Tue, 1 Aug 2006 14:16:28 +0200

While being offline on Crete, I thought about configuration
of dwm at the beach (and in the salt water of the Aegaeis)...

I pretty much disliked in dwm-0.5 to have to edit several
different files to customize the beast for my needs, that's why
I decided to use CPP and a config.h file in the future (already
in hg tip), even if it might be ugly.

The config.h file defines several macros, esp. TAGS, DEFTAG,
CMDS, KEYS, and RULES. Those contain the static struct definitions
defined in the .c files before.

To add some convenience for user-defined setups, one can supply
the CONFIG variable to make(1) to override the default config.h
file. I also added my personal config.h file which is called
config.arg.h.

To compile dwm with my configuration I simply do:

        make CONFIG=config.arg.h clean install

I see no better compromise to provide more convenience for
user-defined setups than using CPP (instead of doing weird awk
scripts ;))

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Aug 01 2006 - 14:16:28 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:49 UTC