Re: [wmii] status doesn't work

From: Ivan F. Villanueva B. <wmii_AT_artificialidea.com>
Date: Mon, 6 Mar 2006 18:40:11 +0100

On Sun, Mar 05, 2006 12:02:31PM +0100, Georg Neis wrote:
> * Ivan F. Villanueva B. <wmii_AT_artificialidea.com> wrote:
> > 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"`
>
> * Anselm R. Garbe <garbeam_AT_wmii.de> wrote:
> > On Sun, Mar 05, 2006 at 09:44:31AM +0100, Ivan F. Villanueva B. wrote:
> > > xwrite /bar/$1/date `echo "$cpu"`
> >
> > It should look like
> >
> > xwrite /bar/$1/date $"cpu
> >
> > in rc syntax.
>
> And
> cpu=`{cpufreq-info -fm}

Thanks for the replies. My file "status" looks now like:

    #!/usr/local/9/bin/rc

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

However, I have on the right side of the bar only a small empty square.

-- 
Ivan F. Villanueva B.
artificialidea.com
<<<                   European Community Patent will bring            >>>
<<<                     Software patents by the backdoor              >>>
<<<                      http://wiki.ffii.org/ComPatEn                >>>
Received on Mon Mar 06 2006 - 18:40:13 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:00:44 UTC