Hi,

On Thu, Mar 02, 2006 01:19:43AM +0100, David Guibert wrote:
> to conclude, add the following in status.sh file
> 
> bat=`acpi | awk '{print $4}' | sed 's/,//'`
> xwrite /bar/$n/data `date` `uptime | sed 's/.*://; s/,//g'` \
>               `echo "$bat"`
> 
> hope helpfull

I have created a file in .wmii-2.5 with the name "status",
which is executable:
    
    #!/usr/local/9/bin/rc

    cpu=`cpufreq-info -fm`
    xwrite /bar/$1/date `echo "$cpu"`

And the two relevant lines of my wmiirc are:
    slab=`{wmiir read /bar/new}
    status $slab &

However, nothing is displayed on the right side of the bar. What am I doing
wrong ?

BTW. The 3 numbers of the right side of the default bar show the load average,
but I don't know what they mean.

-- 
Ivan F. Villanueva B.
artificialidea.com
<<<                   European Community Patent will bring            >>>
<<<                     Software patents by the backdoor              >>>
<<<                      http://wiki.ffii.org/ComPatEn                >>>

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to