Patches

diff generation

For git users:

cd dwm-directory
git diff > dwm-X.Y-yourpatchname.diff

For tarballs:

cd modified-dwm-directory/..
diff -up original-dwm-directory modified-dwm-directory > dwm-X.Y-yourpatchname.diff

where X.Y is a dwm tag name or version number.

patch application

For git users:

cd dwm-directory
git apply path/to/patch.diff

For tarballs:

cd dwm-directory
patch -p1 < path/to/patch.diff

related projects