Source

dwm / DELIXL-README

#install lib xinerama
sudo apt-get install libxinerama-dev
#link important configuration files
echo ln -s $(pwd)/.Xresources $HOME/.Xresources
echo ln -s $(pwd)/.gtkrc-2.0 $HOME/.gtkrc-2.0

#compile dwm
make clean && make
#create profile for gdm
echo create /usr/share/xsessions/dwm.desktop with contents:

sudo cat <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=This session starts dwm
Exec=$(echo $(pwd))/dwm.start
Type=Application
EOF