[xmonad] trying to get started w/ xmonad
Daniel Schoepe
daniel.schoepe at googlemail.com
Thu Jan 20 18:44:23 CET 2011
Excerpts from Sean Allen's message of Wed Jan 19 15:41:49 +0100 2011:
> myKeys = [
> -- rebind meta-p to dmenu
> ((mod4Mask, xK_p), spawn "exe=`dmenu_path | dmenu` && eval \"exec
> $exe\"")
> ]
> ++
> [
> ((m .|. mod4Mask, k), windows $ onCurrentScreen f i)
> | (i, k) <- zip (workspaces' conf) [xK_1 .. xK_9]
> , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]
> ]
>
> but conf on this line isn't in scope:
>
> | (i, k) <- zip (workspaces' conf) [xK_1 .. xK_9]
myKeys is given the config as an argument, which the author of the
code that causes the error assumed to be named conf. So you'd have
to write:
myKeys conf = ..
Regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110120/e1536a08/attachment.pgp>
More information about the xmonad
mailing list