You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David JULIEN 0e2075b0ec Merge branch 'upstream' 6 months ago
patches feat: attachbottom patch 6 months ago
LICENSE Prepare 6.2 release. 3 years ago
Makefile feat: fresh restart 7 months ago feat: fresh restart 7 months ago
config.def.h feat: notitle patch 6 months ago feat: swallow patch 6 months ago
drw.c feat: xresources patch 6 months ago
drw.h feat: xresources patch 6 months ago
dwm.1 feat: fullgaps patch 6 months ago
dwm.c Merge branch 'upstream' 6 months ago
dwm.png alternate dwm.png 15 years ago
transient.c applied Peter Hartlichs nice interim Xinerama and map fix patches, for debugging purposes I also added his transient test driver 10 years ago
util.c die() on calloc failure 5 years ago
util.h import new drw from libsl and minor fixes. 5 years ago

Swy7ch's fork of dwm

This is my fork of suckless' dynamic window manager, dwm.

dwm - dynamic window manager

dwm is an extremely fast, small, and dynamic window manager for X.


In order to build dwm you need the Xlib header files.


Edit to match your local setup (dwm is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install dwm (if necessary as root):

make clean install

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.: exec dwm

(This will start dwm on display :1 of the host

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/.*,//'`"
	sleep 1
done &
exec dwm


The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.