dwm is an extremely fast, small and dynamic window manager for X.
Some patches are rewritten or modified to work together.
In order to build dwm you need the Xlib header files.
sudo make clean install
Add the following line to your .xinitrc to start dwm using startx:
exec dwm
In order to display status info in the bar, you can do something like this in your .xinitrc:
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
sleep 1
done &
exec dwm
The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.