[Xmonad] Can I use xmobar with DynamicLog?

Xiao-Yong Jin xj2106 at columbia.edu
Sun Sep 23 17:52:25 EDT 2007


Andrea Rossato <mailing_list at istitutocolli.org> writes:

> 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.
>

I can not see any differences.  You can always do

% mkfifo myfifo
% while sleep 1; do date > myfifo; done

And in another shell

% tail -f myfifo | dzen2

As long as xmobar can read from stdin, what is the type of
the file `myfifo' is absolutely transparent to xmobar.
-- 
    c/*    __o/*
    <\     * (__
    */\      <


More information about the Xmonad mailing list