[xmonad] Applied: darcs patch: XMonad.Layout.OnHost allows host-specific modification...

darcswatch at nomeata.de darcswatch at nomeata.de
Tue Mar 20 18:45:10 CET 2012

This 1-patch bundle was just applied to http://code.haskell.org/XMonadContrib:

20120320030912  allbery.b at gmail.com
 * XMonad.Layout.OnHost allows host-specific modifications to a layout, which
 is otherwise very difficult to do.  Similarly to X.L.PerWorkspace, it provides
 onHost, onHosts, modHost, and modHosts layout modifiers.  It attempts to do
 smart hostname comparison, such that short names will be matched with short
 names and FQDNs with FQDNs.
 This module currently requires that $HOST be set in the environment.
 You can use System.Posix.Env.setEnv to do so in xmonad.hs if need be.
 (Properly, this should be done via the network library, but I'm trying to
 avoid adding that dependency.)  An alternative would be to shell out to
 get the name, but that has considerable portability hurdles.

This message was brought to you by DarcsWatch

More information about the xmonad mailing list