[xmonad] Compiling xmobar or taffybar into xmonad

Brandon Allbery allbery.b at gmail.com
Mon Jan 13 04:56:36 UTC 2014


On Sun, Jan 12, 2014 at 11:48 PM, Erik de Castro Lopo
<mle+hs at mega-nerd.com>wrote:

> I'm curious if anybody has compiled xmobar or taffybar into their actual
> actual xmonad. Is this a crazy idea?
>

It's a very bad idea without rearchitecting xmonad's main loop to allow it
to support anything other than X11 events. In particular, you really want
timed events for a status bar, and at present the only way to get that
while maintaining access to xmonad's internal state is to have a separate
thread periodically sendMessage X11 events to the main thread.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20140112/6076b88f/attachment.html>


More information about the xmonad mailing list