[Xmonad] Can I use xmobar with DynamicLog?
Andy Gimblett
A.M.Gimblett at swansea.ac.uk
Mon Sep 24 13:30:54 EDT 2007
On Mon, Sep 24, 2007 at 07:58:05AM -0700, David Roundy wrote:
> On Mon, Sep 24, 2007 at 04:55:24PM +0200, Kai Grossjohann wrote:
> > On Sun, Sep 23, 2007 at 02:50:46PM -0700, David Roundy wrote:
> >
> > > On Sun, Sep 23, 2007 at 11:48:45PM +0200, Kai Grossjohann wrote:
> > > > On Sun, Sep 23, 2007 at 10:31:09PM +0200, Andrea Rossato wrote:
> > > >
> > > > > On Sun, Sep 23, 2007 at 10:14:04PM +0200, Kai Grossjohann wrote:
> > > > > > I've just started to use xmobar. It's cool. But I still need dzen2 for
> > > > > > the DynamicLog stuff. Is there another way?
> > > > >
> > > > > No, for the time being. I can easily write a plugin if you use a log
> > > > > file, but reading a named pipe is almost impossible for xmobar.
> > > >
> > > > Maybe DynamicLog could create a symlink whose target is the string to
> > > > display.
> > >
> > > What would be wrong with using a file?
> >
> > It would grow.
>
> Unless you did the same thing to the file that you'd do with the symlink:
> truncate and overwrite it.
Surely this is exactly what a named pipe is for.
Andrea, Why can xmobar read from a file but not a named pipe?
-Andy
--
Andy Gimblett
Computer Science Department
University of Wales Swansea
http://www.cs.swan.ac.uk/~csandy/
More information about the Xmonad
mailing list