On Wed, Nov 16, 2011 at 10:49, Norbert Zeh <nzeh@cs.dal.ca> wrote:
I suppose the output to the pipe is so the StdinReader does not display
"Updating...", right?  Would it actually be possible to tell xmobar to run the
StdinReader but exclude it from its top-level output template?  In that case, it
doesn't matter what is sent to the StdinReader - it would never be displayed.
What I'm not sure about is whether xmobar would actually run the StdinReader and
see the EOF.  (I don't think xmobar checks whether a monitor is in the output
template before starting the monitor.)

The template drives xmobar's behavior; if you don't list the StdinReader there, it won't be run even with a Run instance defined.  (I just verified this.)

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms