aewl

diff 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
line diff
     1.1 --- a/README	Fri Jul 21 09:39:44 2006 +0200
     1.2 +++ b/README	Fri Jul 21 09:59:11 2006 +0200
     1.3 @@ -1,6 +1,5 @@
     1.4  dwm - dynamic window manager
     1.5  ----------------------------
     1.6 -
     1.7  dwm is an extremly fast, small, and dynamic X11 window manager.
     1.8  
     1.9  
    1.10 @@ -34,6 +33,23 @@
    1.11  This will start dwm on display :1 of the host foo.bar.
    1.12  
    1.13  
    1.14 +Displaying status info
    1.15 +----------------------
    1.16 +In order to display status info in the bar, you can do following
    1.17 +in .xinitrc:
    1.18 +
    1.19 +    $HOME/.dwm/status | dwm
    1.20 +
    1.21 +Assumed $HOME/.dwm/status is an executable script like:
    1.22 +
    1.23 +    #!/bin/sh
    1.24 +    while true
    1.25 +    do
    1.26 +        echo `date` `uptime | sed 's/.*://; s/,//g'`
    1.27 +        sleep 5
    1.28 +    done
    1.29 +
    1.30 +
    1.31  Configuration
    1.32  -------------
    1.33  The configuration of dwm is done by customizing source code,