aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/OnHost.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-28Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrderAdam Vogt1-6/+6
Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
2012-04-28Remove trailing whitespace.Adam Vogt1-1/+1
Ignore-this: d61584110954e84d3611ef3497a29725 darcs-hash:20120428194048-1499c-b4fab8db7cd56d5ca8496e1d3c9c2147a985cf55.gz
2012-03-20XMonad.Layout.OnHost allows host-specific modifications to a layout, whichallbery.b1-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