Someone forgot to check if her patch was going to break haddock docs
generation or not. So, while I was recording a patch with quite a long
description I had to manually write - sound strange? -, I found out
that my patch did not pass the tests, because of this haddock problem
left behind.
And so I fixed it, recorded this patch, with the hope the my next
description of the next patch I'm going to record will survive the
test suite we created to avoid this kind of problems for.
Improvements to DynamicLog include:
* Greatly expanded and improved documentation and examples
* remove seemingly useless makeSimpleDzenConfig function
* factor out xmobarPP
* add new ppExtras field to PP record, for specifying 'extra'
loggers which can supply information other than window title,
layout, and workspace status to a status bar (for example, time and date,
battery status, mail status, etc.)
The new XMonad.Util.Loggers module provides some example loggers that
can be used in the new ppExtras field of the PP record. Create your own,
add them to this module, go crazy! =)
* Export WorkspaceCompare and WorkspaceSort types.
* Extract commonality in sort methods into mkWsSort, which creates
a workspace sort from a workspace comparison function.
* Rename getSortByTag to getSortByIndex, since it did not actually sort
by tag at all; it sorts by index of workspace tags in the user's config.
* Create a new getSortByTag function which actually does sort
lexicographically by tag.
* Enhance documentation.
algorithm
- idea is to specify sorting algorithm from user's xmonad.hs
- xinerama sorting algorithm produces same ordering as
pprWindowSetXinerama
- default ppSort is set to getSortByTag, so the default functionality
is the same as it was before