aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/OnHost.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrderAdam Vogt2012-04-281-6/+6
| | | | | | Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
* Remove trailing whitespace.Adam Vogt2012-04-281-1/+1
| | | | | | Ignore-this: d61584110954e84d3611ef3497a29725 darcs-hash:20120428194048-1499c-b4fab8db7cd56d5ca8496e1d3c9c2147a985cf55.gz
* XMonad.Layout.OnHost allows host-specific modifications to a layout, whichallbery.b2012-03-201-0/+155
Ignore-this: 4c0d5580e805ff9f40918308914f3bf9 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. darcs-hash:20120320030912-181ff-ac823f07d94265c3e745e623f6da79eeead4d121.gz