
20 Jan
2011
20 Jan
'11
12:44 p.m.
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