summaryrefslogtreecommitdiff
path: root/dwm/README
blob: b720b0a74781c68b01710ae91e089dc32bbff47b (plain)
    1 The configuration of dwm is done by creating a custom config.h
    2 and (re)compiling the source code. To create a custom config.h,
    3 unpack the tarball, copy the file dwm-$version/config.def.h to
    4 dwm's port directory, and edit to suit your preferences. Then,
    5 when you call pkgmk in the dwm port directory, the custom
    6 config.h will be detected and copied into the source before
    7 compilation. I recommend that you save a copy your custom config.h
    8 some where other than the dwm port directory, so that your changes
    9 won't get nuked when updating ports or performing a prtsweep or
   10 prtwash (see opt/prt-utils for more information about those two).
   11 
   12 Another solution for customizing dwm is to create a custom and
   13 (preferably) private port that contains your custom config and also
   14 might include patches, such as from https://suckless.org/patches/.

Generated by cgit