[xmonad] xmobar PipeReader doesn't work

Xie Hanjian jan.h.xie at gmail.com
Thu Mar 12 13:23:25 EDT 2009


Hi Lars,

Thanks for your tips, I got this:

	01:19:~$ cat /dev/shm/lrcfifo|xmobar -b
	<stdin>: hGetLine: end of file

Is this a haskell issue? Google told me haskell has problem like this
when read from a pipe .. How can I fix this?

Thanks,
Jan

* Chengqi(Lars) Song <songcq at gmail.com> [2009-03-13 01:13:20 +0800]:

> you can test your xmobar at first by:
> 
>   cat | xmobar path/to/xmobar.config
> 
> -lars
> 
> On Thu, 12 Mar 2009, Xie Hanjian wrote:
> 
> > Hi,
> > 
> > I add PipeReader to my .xmobarrc, but the xmobar will always show the
> > same string (which is read in when start xmobar), instead of showing strings
> > write to the fifo pipe later. Any solutions?
> > 
> > Thanks,
> > Jan
> > 
> > -- 
> > jan=callcc{|jan|jan};jan.call(jan)
> 
> 
> 
> > _______________________________________________
> > xmonad mailing list
> > xmonad at haskell.org
> > http://www.haskell.org/mailman/listinfo/xmonad
> 
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad

-- 
jan=callcc{|jan|jan};jan.call(jan)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090313/5666ac97/attachment.bin


More information about the xmonad mailing list