There are a few dependencies to compile the dependencies. Most are basic ones, like having a C compiler, but you also need the following
sudo apt install libx11-dev libxft-dev libxinerama-dev libwebkit2gtk-4.0-dev libgcr-3-dev
cd dwm && make && sudo make install && cd ..
cd dmenu && make && sudo make install && cd ..
cd st && make && sudo make install && cd ..
- Copy the
dwm.desktop
to/usr/share/xsessions
- Copy the
startdwm
to/usr/local/bin/startdwm
and make it executable - Log out and start DWM through your desktop manager
- Copy the
xinitrc
to$HOME/.xinitrc
- Start by running
startx $HOME/.xinitrc