[xmonad] Some Gnome fit and finish work

John Yates john at yates-sheets.org
Thu May 21 09:47:26 EDT 2009


On Wed, May 20, 2009 at 10:37 AM, Adam Vogt <vogt.adam at gmail.com> wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmonad.hs
Type: text/x-haskell
Size: 2420 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090521/a612cc53/xmonad.bin


More information about the xmonad mailing list