MY XMONAD.HS FILE

-- Probably not all of these imports are necessary but they were in the
-- model I used so I've kept them.

import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
import XMonad.Layout.Spiral

-- The next session loads the programs as floats, to allow for the fact
-- they provide several windows that should be floated.

myManageHook = composeAll
[ resource =? "gimp" --> doFloat
, resource =? "xpaint" --> doFloat
, resource =? "display" --> doFloat
, resource =? "mplayer" --> doFloat
, resource =? "xsane" --> doFloat
]

-- I like the spiral layout and it cuts out the horizontal arrangement
-- produced by the standard layout, which I don't use.

myLayout = spiral (6/7) ||| Full
main = xmonad defaultConfig { layoutHook = myLayout }

-- As well as changing the Mod key, this section makes the default
-- terminal be xterm and reduces the default terminal border
-- width to 2 pixels.

{ modMask = mod4Mask
, terminal = "xterm"
, borderWidth = 2
}

Web Analytics Made Easy -
StatCounter

BACK