[xmonad] mpc output in xmobar

jean bonhomme jeanbonh at ymail.com
Sat May 23 18:03:19 EDT 2009

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20090523/1f3f4e1d/attachment.html

More information about the xmonad mailing list