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

allbery.b at gmail.com allbery.b at gmail.com
Tue Mar 20 04:13:46 CET 2012


1 patch for repository http://code.haskell.org/XMonadContrib:

Mon Mar 19 23:09:12 EDT 2012  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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 17296 bytes
Desc: A darcs patch for your repository!
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120319/e651c940/attachment.bin>


More information about the xmonad mailing list