Mercurial > dwm-meillo
comparison README @ 132:59e997ca04a6
added a note how to achieve status info in the bar
author | arg@10ksloc.org |
---|---|
date | Fri, 21 Jul 2006 09:59:11 +0200 |
parents | e8a23f20097e |
children | a4305fb0cfac |
comparison
equal
deleted
inserted
replaced
131:65efe27cbf3d | 132:59e997ca04a6 |
---|---|
1 dwm - dynamic window manager | 1 dwm - dynamic window manager |
2 ---------------------------- | 2 ---------------------------- |
3 | |
4 dwm is an extremly fast, small, and dynamic X11 window manager. | 3 dwm is an extremly fast, small, and dynamic X11 window manager. |
5 | 4 |
6 | 5 |
7 Requirements | 6 Requirements |
8 ------------ | 7 ------------ |
32 DISPLAY=foo.bar:1 exec dwm | 31 DISPLAY=foo.bar:1 exec dwm |
33 | 32 |
34 This will start dwm on display :1 of the host foo.bar. | 33 This will start dwm on display :1 of the host foo.bar. |
35 | 34 |
36 | 35 |
36 Displaying status info | |
37 ---------------------- | |
38 In order to display status info in the bar, you can do following | |
39 in .xinitrc: | |
40 | |
41 $HOME/.dwm/status | dwm | |
42 | |
43 Assumed $HOME/.dwm/status is an executable script like: | |
44 | |
45 #!/bin/sh | |
46 while true | |
47 do | |
48 echo `date` `uptime | sed 's/.*://; s/,//g'` | |
49 sleep 5 | |
50 done | |
51 | |
52 | |
37 Configuration | 53 Configuration |
38 ------------- | 54 ------------- |
39 The configuration of dwm is done by customizing source code, | 55 The configuration of dwm is done by customizing source code, |
40 grep for CUSTOMIZE keyword. | 56 grep for CUSTOMIZE keyword. |