added a note how to achieve status info in the bar 98c6a92e
arg@10ksloc.org · 2006-07-21 09:59 1 file(s) · +17 −1
README +17 −1
1 1
dwm - dynamic window manager
2 2
----------------------------
3 -
4 3
dwm is an extremly fast, small, and dynamic X11 window manager.
5 4
6 5
32 31
    DISPLAY=foo.bar:1 exec dwm
33 32
34 33
This will start dwm on display :1 of the host foo.bar.
34 +
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
35 51
36 52
37 53
Configuration