Question: dwm how to apply patch?
Answer: Save the patch somewhere in your source directory, and run git apply pertag. ... 
If the patch added any new files, run git add <name of new file> to add them to the repository. ... 
Rebuild dwm.