[xmonad] stupid newbie question about `removeKeysP`

Jonas Bygdén jonaslistor at gmail.com
Wed May 5 15:37:12 EDT 2010


Hi,

I'm slowly going nuts here.

This is my complete xmonad.hs file:

-------------------------------------------
import XMonad
import XMonad.Config.Gnome
import XMonad.Util.EZConfig

main = xmonad gnomeConfig
        {terminal       = "urxvtcd"
        }
        `removeKeysP` ["M-b","M-."]
-------------------------------------------

And when I try to use it I get these errors:

-------------------------------------------
xmonad.hs:5:7:
    Couldn't match expected type `XConfig l'
           against inferred type `IO ()'
    In the first argument of `removeKeysP', namely
        `xmonad (gnomeConfig {terminal = "urxvtcd"})'
    In the expression:
          xmonad (gnomeConfig {terminal = "urxvtcd"})
        `removeKeysP`
          ["M-b", "M-."]
    In the definition of `main':
        main = xmonad (gnomeConfig {terminal = "urxvtcd"})
             `removeKeysP`
               ["M-b", "M-."]

Please check the file for errors.
-------------------------------------------

Where have I gone wrong?

/Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20100505/2dd67856/attachment.html


More information about the xmonad mailing list