You can use this module with the following in your
 ~/.xmonad/xmonad.hs:
  import XMonad.Layout.DwmStyle
 Then edit your layoutHook by adding the DwmStyle decoration to
 your layout:
  myL = dwmStyle shrinkText defaultTheme (layoutHook defaultConfig)
 main = xmonad defaultConfig { layoutHook = myL }
For more detailed instructions on editing the layoutHook see:
 XMonad.Doc.Extending#Editing_the_layout_hook
 You can also edit the default configuration options.
  myDWConfig = defaultTheme { inactiveBorderColor = "red"
                           , inactiveTextColor   = "red"}
and
  myL = dwmStyle shrinkText myDWConfig (layoutHook defaultConfig)
 A complete xmonad.hs file for this would therefore be:
  import XMonad
 import XMonad.Layout.DwmStyle
 main = xmonad defaultConfig {
                    layoutHook =
                        dwmStyle shrinkText defaultTheme
                            (layoutHook defaultConfig)
              }
 |