aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Replace.hs
diff options
context:
space:
mode:
authorallbery.b <allbery.b@gmail.com>2012-03-20 04:09:12 +0100
committerallbery.b <allbery.b@gmail.com>2012-03-20 04:09:12 +0100
commit0977895c959f633a2d8cc9add20aa270a3b467f6 (patch)
treed902e56e7ded3c99e84956d77611a42aff282d2c /XMonad/Util/Replace.hs
parent44d5ec8d072e91abf9844dd63c0870a8345aea17 (diff)
downloadXMonadContrib-0977895c959f633a2d8cc9add20aa270a3b467f6.tar.gz
XMonadContrib-0977895c959f633a2d8cc9add20aa270a3b467f6.tar.xz
XMonadContrib-0977895c959f633a2d8cc9add20aa270a3b467f6.zip
XMonad.Layout.OnHost allows host-specific modifications to a layout, which
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
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions