Personal tools

Talk:Xmonad/Config archive/Don's xmonad.hs

From HaskellWiki

Revision as of 21:29, 27 March 2010 by G4c9z (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I found that entering the xmonad.hs config file listed here doesn't work. I think it may be because I have xmonad-0.8.1. I get this error:

xmonad.hs:12:17:

   Couldn't match expected type `XConfig
                                   (XMonad.Layout.LayoutModifier.ModifiedLayout
                                      AvoidStruts (Choose Tall (Choose (Mirror Tall) Full)))
                                 -> IO t'
          against inferred type `XConfig
                                   (Choose Tall (Choose (Mirror Tall) Full))'
   In the first argument of `dzen', namely `defaultConfig'
   In a 'do' expression: conf <- dzen defaultConfig
   In the expression:
       do conf <- dzen defaultConfig
            xmonad
          $   conf
                {terminal = "term", startupHook = setWMName "LG3D",
                 layoutHook = smartBorders (layoutHook conf)}
            `additionalKeys`
              [((modMask conf, xK_p),
                runOrRaisePrompt (defaultXPConfig {position = Top}))]

If this is because it's version 0.8.1, should there be a warning to that effect?