all repos — dwm @ b515765216c46246358256da6098ea2c07a93c84

fork of suckless dynamic window manager

README (view raw)

 1dwm - dynamic window manager
 2----------------------------
 3dwm is an extremely fast, small, and dynamic X11 window manager.
 4
 5
 6Requirements
 7------------
 8In order to build dwm you need the Xlib header files.
 9
10
11Installation
12------------
13Edit config.mk to match your local setup (dwm is installed into
14the /usr/local namespace by default).
15
16Afterwards enter the following command to build and install dwm (if
17necessary as root):
18
19    cp config.default.h config.h
20    make clean install
21
22
23Running dwm
24-----------
25Add the following line to your .xinitrc to start dwm using startx:
26
27    exec dwm
28
29In order to connect dwm to a specific display, make sure that
30the DISPLAY environment variable is set correctly, e.g.:
31
32    DISPLAY=foo.bar:1 exec dwm
33
34(This will start dwm on display :1 of the host foo.bar.)
35
36In order to display status info in the bar, you can do something
37like this in your .xinitrc:
38
39    while true
40    do
41        echo `date` `uptime | sed 's/.*://; s/,//g'`
42        sleep 1
43    done | dwm
44
45
46Configuration
47-------------
48The configuration of dwm is done by editing config.h.