Patching, Configuring and Installing DWM

dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, optimising the environment for the application in use and the task performed. To read more visit its website @ http://dwm.suckless.org/.

dwm is available two version. One is stable version that is uploaded on its webpage and the other one is development version from github at https://git.suckless.org/dwm. The development version from Git is recommended because it is easier for patching, and dwm is very small, clean and simple so the development version is already more stable than any other software.

To install dwm from Git, first clone the folder of the software.

$ git clone https://git.suckless.org/dwm

Go into the cloned folder ~ $ cd ./dwm and do your patch using

$ patch -p1 < /path/to/patch.diff

See for more details and ways http://suckless.org/hacking/.

After patching and configuring config.h file in the software folder, run the following commands inside the software folder.

$ make ## this will compile the source codes to get the binary package of software

# make install ## this will copy the binary and others to /usr/local/bin and other relevant directories

$ make clean ## this will clean the software folder (optional)

The following video is about Patching, Configuring and Installing DWM.