[xmonad] defaultConfig?

Devin Mullins me at twifkak.com
Fri Sep 26 10:05:12 EDT 2008


On Thu, Sep 25, 2008 at 07:06:19PM +0200, Dominik Bruhn wrote:
> Hy,
> thanks for your answer but it didnt help. I changed the line to:
> --
>             ((modm, xK_space), scratchpadSpawnAction =<< dbruhnConfig),
> --
> 
> and I get a haskell-error. I attached my Config-File and the error-log. 

Ah, that's because your config changed since you last posted. Before, it
was Monad m => m (XConfig l), and now it's IO (XConfig l). Also, you
definitely don't want to =<< twice as that'll spawnPipe twice, which
will probably lead to blockage.

Do this:
>         mykeys conf@(XConfig {modMask = modm}) = M.fromList $ [
>             ....
>             ((modm, xK_space), scratchpadSpawnAction conf),


More information about the xmonad mailing list