
On Wed, May 20, 2009 at 10:37 AM, Adam Vogt
Line 69: it could result in a pattern match failure if it is applied to lists shorter than 3 elements. Most likely DynamicLog doesn't do that, so the function is safe (and IIRC xmonad would catch the error anyways). The alternative using take and drop is shorter too:
, ppOrder = \(_:_:title:_) -> [title] -- no easier way?
, ppOrder = take 1 . drop 2
Done.
There is also XMonad.Config.Gnome.gnomeConfig which hides the ewmh and avoidstruts stuff. It may be worth considering using instead of XMonad.defaultConfig.
Thanks for the pointer. gnomeConfig definitely simplifies my xmonad.hs though currently it is not a total ewmh solution. I still have to include ewmhDesktopsLogHook in myLogHookWithPP (see attached). /john