[xmonad] mpc output in xmobar
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?
* jean bonhomme <jeanbonh at ymail.com> [2009-05-23 22:03:19 +0000]:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 489 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090523/292aea2e/attachment.bin
More information about the xmonad