[wiki] [sites] How to track config.(|def).h changes in git || Jochen Sprickerhof
commit 13e1296e9772242ff869295a1081a77eae022434
Author: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
Date: Fri Feb 15 22:03:27 2019 +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.
diff --git a/dwm.suckless.org/customisation/index.md b/dwm.suckless.org/customisation/index.md
index ee5cf802..c502064b 100644
--- a/dwm.suckless.org/customisation/index.md
+++ b/dwm.suckless.org/customisation/index.md
_AT_@ -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.
Received on Fri Feb 15 2019 - 22:06:34 CET
This archive was generated by hypermail 2.3.0
: Fri Feb 15 2019 - 22:12:30 CET