![]() dwm logo | |
Release Status | Maintained |
---|---|
Last Release | 6.5, 2024-03-19 |
Language(s) | C |
Developer(s) | Suckless |
Website | dwm.suckless.org |

dwm (Dynamic Window Manager) is a window manager developed by Suckless. dwm is designed to be small in source code, fast and light[1]. The first version of dwm was released on July 14th, 2006 under the MIT/X Consortium license.
Installation
dwm is meant to be built from source. You can download the latest version of dwm by running:
$ git clone https://git.suckless.org/dwm
You can first configure it by making a copy of config.def.h and naming it config.h. This can be done by running:
$ cp config.def.h config.h
config.h
can then be configured to your liking.
Before compiling dwm, make sure you have X11 libraries installed.
dwm can then be compiled by running:
$ sudo make clean install
If the command executes without any errors, you can then modify the ~/.xinitrc file, put exec dwm
in it and then start X (by running startx
) and dwm should be running.
It is also recommended that you install dmenu and st along with dwm, as they provide you with a lightweight application launcher and a terminal emulator.
Configuration
Configuration is done through editing the config.h file which is written in C and recompiling dwm.
Patches
dwm has many patches provided in the suckless website to add and improve its features[2]. patches can be installed by running:
patch -p1 < path/to/patch.diff