[xmonad] mpc output in xmobar

Jan jan.h.xie at gmail.com
Sat May 23 18:20:37 EDT 2009


Write the mpc status to a pipe(mkfifo) then read the data with
xmobar's  pipe reader plugin?

-J

* jean bonhomme <jeanbonh at ymail.com> [2009-05-23 22:03:19 +0000]:

> Hello,
> I would like to pipe this command :
> echo -n "$(mpc --format "%file%" | head -n 1)"
> to xmobar.
> I haven't found any infos on how to do it.
> I've tried severals methods but without any success.
> On my best test, I could see the output in ~/.xsession-errors, but that wasn't my goal.
> When someone knows how to do it, please let me know.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>       
> _______________________________________________
> 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/20090523/292aea2e/attachment.bin


More information about the xmonad mailing list