diff options
| author | a@null <unknown> | 2008-12-13 20:20:26 +0000 |
|---|---|---|
| committer | a@null <unknown> | 2008-12-13 20:20:26 +0000 |
| commit | 6d209b9b29d062f85d34b4948b5867bd465f5150 (patch) | |
| tree | 5560c96f0949fc9b99e260a709aea523729547e0 /README | |
| parent | ok, using signal.h for portability reasons (diff) | |
| download | dwm-6d209b9b29d062f85d34b4948b5867bd465f5150.tar.gz dwm-6d209b9b29d062f85d34b4948b5867bd465f5150.zip | |
made status script example of .xinitrc more useful
Diffstat (limited to '')
| -rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -38,12 +38,12 @@ the DISPLAY environment variable is set correctly, e.g.: | |||
| 38 | In order to display status info in the bar, you can do something | 38 | In order to display status info in the bar, you can do something |
| 39 | like this in your .xinitrc: | 39 | like this in your .xinitrc: |
| 40 | 40 | ||
| 41 | dwm & | ||
| 42 | while true | 41 | while true |
| 43 | do | 42 | do |
| 44 | xsetroot -name "`date` `uptime | sed 's/.*,//'`" | 43 | xsetroot -name "`date` `uptime | sed 's/.*,//'`" |
| 45 | sleep 1 | 44 | sleep 1 |
| 46 | done | 45 | done & |
| 46 | exec dwm | ||
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | Configuration | 49 | Configuration |
