commit 13e1296e9772242ff869295a1081a77eae022434 parent de3501b5499aa8192bb8762edb0a535648905eb9 Author: Jochen Sprickerhof <git@jochen.sprickerhof.de> Date: Fri, 15 Feb 2019 22:03:27 +0100 How to track config.(|def).h changes in git This is based on the documentation in dwm.suckless.org/customisation/patch_queue.md deleted in 8c03f4bd. Diffstat:
M | dwm.suckless.org/customisation/index.md | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/dwm.suckless.org/customisation/index.md b/dwm.suckless.org/customisation/index.md @@ -40,3 +40,11 @@ Are there any example customisations to get me started? Various customisation options are illustrated in the sub-directories of this wiki page. Under each of the categories (customfuncs, fonts, etc.,) you will find example modifications that will get you started. + +How do I keep my customized dwm config up to date? +-------------------------------------------------- +git clone the dwm repo and store all patches as git commits. If there are +changes in origin/master, simply git rebase your patches. For this it is +convenient to use the config.def.h directly. To do so you have to change +${OBJ}: config.h config.mk to ${OBJ}: config.def.h config.mk in the Makefile +and change #include "config.h" to #include "config.def.h" in dwm.c.