I have the following configuration on xmonad.hs, I really just want to add xmobar to the spawn pipe, but i dont know whats wrong. This is my config:
import XMonad
main = do
xmproc <- spawnPipe "xmobar &"
xmonad $ defaultConfig
{ modMask = mod4Mask -- Use Super instead of Alt
, terminal = "xterm -fg white -bg black"
-- more changes
}
And this is the error I get:
xmonad.hs:6:9: parse error on input `{'