Installing and configuring dwm on OS X
Install XQuartz (http://xquartz.macosforge.org) which is the development version of the X11.app that ships with OS X, which means it is way more up to date. I have had some weird issues with X11.app v. 2.3-something. XQuartz 2.5.0 fixed that.
brew install dwm. This makes a bunch of necessary tweaks to the DWM configuration.
Add the following script to $PATH, name it