contrib/st/README

15 lines
828 B
Plaintext
Raw Normal View History

2018-03-16 06:52:24 +01:00
The configuration of st 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 st-$version/config.def.h to
2018-05-23 04:51:38 +02:00
st's port directory, and edit to suit your preferences. Then,
2018-03-16 06:52:24 +01:00
when you call pkgmk in the st 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
2018-05-23 04:51:38 +02:00
some where other than the st port directory, so that your changes
2018-03-16 06:52:24 +01:00
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 st 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/.