improvements to XMonad.Hooks.DynamicLog, and new contrib module XMonad.Util.Loggers

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! =)
This commit is contained in:
Brent Yorgey
2008-02-19 21:01:28 +00:00
parent 172d422efb
commit 2a8cb7d84c
3 changed files with 246 additions and 65 deletions

View File

@@ -40,7 +40,7 @@ flag testing
library
if flag(small_base)
build-depends: base >= 3, containers, directory, process, random
build-depends: base >= 3, containers, directory, process, random, old-time, old-locale
else
build-depends: base < 3
@@ -157,6 +157,7 @@ library
XMonad.Util.EZConfig
XMonad.Util.Font
XMonad.Util.Invisible
XMonad.Util.Loggers
XMonad.Util.NamedWindows
XMonad.Util.Run
XMonad.Util.Themes