diff options
| author | arg@10ksloc.org <unknown> | 2006-07-21 09:59:11 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-07-21 09:59:11 +0200 |
| commit | 98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 (patch) | |
| tree | dc3944e3d86a8f4c19462fafac6ea91759c6fb54 | |
| parent | preparing 0.6 which will be available in the evening after sanders patch approx. (diff) | |
| download | dwm-98c6a92eb56dbbbec32734f3d9206ae63c8f8c08.tar.gz dwm-98c6a92eb56dbbbec32734f3d9206ae63c8f8c08.zip | |
added a note how to achieve status info in the bar
Diffstat (limited to '')
| -rw-r--r-- | README | 18 |
1 files changed, 17 insertions, 1 deletions
| @@ -1,6 +1,5 @@ | |||
| 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 | ||
| @@ -34,6 +33,23 @@ the DISPLAY environment variable is set correctly, e.g.: | |||
| 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, |
