Mercurial > dwm-meillo
annotate README @ 166:e0535db04dfe
removed the CONFIG variable from config.mk, renamed config.h into config.default.h, after first clone/extract one needs to copy config.default.h to config.h, that is easier than always heavy typing make CONFIG=blafasel
author | arg@10ksloc.org |
---|---|
date | Wed, 02 Aug 2006 16:46:59 +0200 |
parents | a011f447af88 |
children | 697715541a25 |
rev | line source |
---|---|
37 | 1 dwm - dynamic window manager |
2 ---------------------------- | |
143 | 3 dwm is an extremely fast, small, and dynamic X11 window manager. |
17 | 4 |
5 | |
0 | 6 Requirements |
7 ------------ | |
34 | 8 In order to build dwm you need the Xlib header files. |
0 | 9 |
10 | |
11 Installation | |
12 ------------ | |
143 | 13 Edit config.mk to match your local setup (dwm is installed into |
14 the /usr/local namespace by default). | |
0 | 15 |
34 | 16 Afterwards enter the following command to build and install dwm (if |
0 | 17 necessary as root): |
18 | |
166
e0535db04dfe
removed the CONFIG variable from config.mk, renamed config.h into config.default.h, after first clone/extract one needs to copy config.default.h to config.h, that is easier than always heavy typing make CONFIG=blafasel
arg@10ksloc.org
parents:
154
diff
changeset
|
19 cp config.default.h config.h |
0 | 20 make clean install |
21 | |
22 | |
34 | 23 Running dwm |
37 | 24 ----------- |
34 | 25 Add the following line to your .xinitrc to start dwm using startx: |
0 | 26 |
34 | 27 exec dwm |
0 | 28 |
34 | 29 In order to connect dwm to a specific display, make sure that |
0 | 30 the DISPLAY environment variable is set correctly, e.g.: |
31 | |
34 | 32 DISPLAY=foo.bar:1 exec dwm |
0 | 33 |
154 | 34 (This will start dwm on display :1 of the host foo.bar.) |
0 | 35 |
143 | 36 In order to display status info in the bar, you can do something |
37 like this in your .xinitrc: | |
132
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
38 |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
39 while true |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
40 do |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
41 echo `date` `uptime | sed 's/.*://; s/,//g'` |
143 | 42 sleep 1 |
135
a4305fb0cfac
changed the status info README hint (more simple now, no extra script necessary)
arg@10ksloc.org
parents:
132
diff
changeset
|
43 done | dwm |
132
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
44 |
143 | 45 |
0 | 46 Configuration |
47 ------------- | |
146
f328ce9c558c
centralized/externalized configuration to config.h
arg@10ksloc.org
parents:
143
diff
changeset
|
48 The configuration of dwm is done by editing config.h. |