Mercurial > aewl
annotate README @ 136:3a9caa6d565b
s/sleep 5/sleep 2/
author | arg@10ksloc.org |
---|---|
date | Fri, 21 Jul 2006 11:54:14 +0200 |
parents | a4305fb0cfac |
children | 36cabfe408cd |
rev | line source |
---|---|
37 | 1 dwm - dynamic window manager |
2 ---------------------------- | |
34 | 3 dwm is an extremly 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 ------------ | |
34 | 13 Edit config.mk to match your local setup. dwm is installed into |
0 | 14 the /usr/local namespace by default. |
15 | |
34 | 16 Afterwards enter the following command to build and install dwm (if |
0 | 17 necessary as root): |
18 | |
19 make clean install | |
20 | |
21 | |
34 | 22 Running dwm |
37 | 23 ----------- |
34 | 24 Add the following line to your .xinitrc to start dwm using startx: |
0 | 25 |
34 | 26 exec dwm |
0 | 27 |
34 | 28 In order to connect dwm to a specific display, make sure that |
0 | 29 the DISPLAY environment variable is set correctly, e.g.: |
30 | |
34 | 31 DISPLAY=foo.bar:1 exec dwm |
0 | 32 |
34 | 33 This will start dwm on display :1 of the host foo.bar. |
0 | 34 |
35 | |
132
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
36 Displaying status info |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
37 ---------------------- |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
38 In order to display status info in the bar, you can do following |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
39 in .xinitrc: |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
40 |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
41 while true |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
42 do |
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
43 echo `date` `uptime | sed 's/.*://; s/,//g'` |
136 | 44 sleep 2 |
135
a4305fb0cfac
changed the status info README hint (more simple now, no extra script necessary)
arg@10ksloc.org
parents:
132
diff
changeset
|
45 done | dwm |
132
59e997ca04a6
added a note how to achieve status info in the bar
arg@10ksloc.org
parents:
87
diff
changeset
|
46 |
0 | 47 Configuration |
48 ------------- | |
87 | 49 The configuration of dwm is done by customizing source code, |
50 grep for CUSTOMIZE keyword. |