Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with XMonad
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Valvar
n00b
n00b


Joined: 08 Mar 2013
Posts: 6

PostPosted: Mon Mar 30, 2015 7:57 pm    Post subject: Problem with XMonad Reply with quote

Hello,

When using the same configuration for XMonad that I used on my Arch installation (same version), I get the following errors:

Quote:
Error detected while loading xmonad configuration file: /home/valvar/.xmonad/xmonad.hs

xmonad.hs:29:19:
Couldn't match type `xmonad-0.11:XMonad.Core.XConfig
(XMonad.Layout.LayoutModifier.ModifiedLayout
XMonad.Hooks.ManageDocks.AvoidStruts l1)'
with `XConfig l0'
Expected type: IO (XConfig l0)
Actual type: IO
(xmonad-0.11:XMonad.Core.XConfig
(XMonad.Layout.LayoutModifier.ModifiedLayout
XMonad.Hooks.ManageDocks.AvoidStruts l1))
In the return type of a call of `statusBar'
In the second argument of `(=<<)', namely
`statusBar myBar myPP toggleStrutsKey myConfig'
In the expression:
xmonad =<< statusBar myBar myPP toggleStrutsKey myConfig

xmonad.hs:29:40:
Couldn't match type `XConfig t0'
with `xmonad-0.11:XMonad.Core.XConfig
xmonad-0.11:XMonad.Core.Layout'
Expected type: xmonad-0.11:XMonad.Core.XConfig
xmonad-0.11:XMonad.Core.Layout
-> (KeyMask, KeySym)
Actual type: XConfig t0 -> (KeyMask, KeySym)
In the third argument of `statusBar', namely `toggleStrutsKey'
In the second argument of `(=<<)', namely
`statusBar myBar myPP toggleStrutsKey myConfig'
In the expression:
xmonad =<< statusBar myBar myPP toggleStrutsKey myConfig

xmonad.hs:29:56:
Couldn't match expected type `xmonad-0.11:XMonad.Core.XConfig l1'
with actual type `XConfig
(Choose Tall (Choose (Mirror Tall) Full))'
In the fourth argument of `statusBar', namely `myConfig'
In the second argument of `(=<<)', namely
`statusBar myBar myPP toggleStrutsKey myConfig'
In the expression:
xmonad =<< statusBar myBar myPP toggleStrutsKey myConfig

Please check the file for errors.


xmonad.hs: https://bpaste.net/show/43aa8fe159bf
.xmobarrc: https://bpaste.net/show/5d0fa8a00ccd

xmobar and xmonad-contrib are of course merged. It's probably a newbie error somewhere, so I apologize if my request is stupid!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum