contrib/dwm
John Vogel 198f422b37 dwm: remove config.h
Also expand README to explain how to generate a custom config.h
and some hints on using this port as a reference for a private
and customized dwm port.
2018-03-07 08:26:42 -05:00
..
.footprint dwm: new maintainer. update to 6.1. 2018-02-18 16:30:57 -05:00
.md5sum dwm: remove config.h 2018-03-07 08:26:42 -05:00
.signature dwm: remove config.h 2018-03-07 08:26:42 -05:00
Pkgfile dwm: remove config.h 2018-03-07 08:26:42 -05:00
README dwm: remove config.h 2018-03-07 08:26:42 -05:00

The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code. To create a custom config.h,
unpack the tarball, copy the file dwm-$version/config.def.h to
dwm's port directory, and edit to suit your preferences. Then,
when you call pkgmk in the dwm port directory, the custom
config.h will be detected and copied into the source before
compilation. I recommend that you save a copy your custom config.h
some where other than the dwm port directory, so that your changes
won't get nuked when updating ports or performing a prtsweep or
prtwash (see opt/prt-utils for more information about those two).

Another solution for customizing dwm is to create a custom and
(preferably) private port that contains your custom config and also
might include patches, such as from https://suckless.org/patches/.