From d0fcf03b8a249c9cb5177f4459f3e0f3915e2f31 Mon Sep 17 00:00:00 2001 From: Aney Date: Sun, 18 Oct 2020 21:11:29 +0100 Subject: [PATCH] Added some reference for patches --- dwm.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dwm.md b/dwm.md index 94c7ee9..0e8dae9 100644 --- a/dwm.md +++ b/dwm.md @@ -90,3 +90,16 @@ Clean shutdown alt + shift + q +# Patches + +Download the patch from suckless.org, etc. + + patch < file.diff + +Preference is to put it into a patches/ folder within the repo. + +## Make a custom patch + +Make the changes to the code then compare the new and original files. + + diff -u OriginalFile UpdatedFile > PatchFile