Thx to all for hints. I put acpi -b |tr -d ','|awk '{print $4}' onto my old
script and everythig works fine.
Maby i'll be usefull for somebody
git://github.com/dziq/configs.git
2011/6/20 Kurt Van Dijck <kurt.van.dijck_AT_eia.be>
> On Mon, Jun 20, 2011 at 01:59:57PM +0200, ilf wrote:
> > On 06-20 13:25, Kurt Van Dijck wrote:
> > >This program allows me to put 'whatever I can create on stdout' to the
> statusbar
> >
> > Euh yeah, that's what we use xsetroot(1) for.
>
> I missed (and still do not see)
> how to make xsetroot(1) read from stdin, line by line.
> That's why (I thought) that scripts spawn xsetroot(1) each time.
> >
>
>
-- Bartosz NitkiewiczReceived on Mon Jun 20 2011 - 15:25:54 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 15:36:04 CEST