[xmonad] Retrieve number of screens.

Mike Sampson mike at sambodata.com
Sat Nov 28 01:19:02 EST 2009


Thanks

> The type has to be in the X monad; try declaring it as X Int.  (More specifically,
> the error message is telling you that you used a do expression, which produces
> a result in some monad ("m b"), but you declared the type as Int.)

> XMonad.Layout.IndependentScreens exports the countScreens value for this
> purpose.

Both replies were very helpful.

Regards,

Mike


More information about the xmonad mailing list