Skip to content

Instantly share code, notes, and snippets.

@nekolinuxblog
Created October 16, 2013 13:17
Show Gist options
  • Save nekolinuxblog/7007588 to your computer and use it in GitHub Desktop.
Save nekolinuxblog/7007588 to your computer and use it in GitHub Desktop.
XMonad.Hooks.DynamicLogモジュールの一部 xmonadとHaskell7-1
-- | The default pretty printing options, as seen in 'dynamicLog'.
defaultPP :: PP
defaultPP = PP { ppCurrent = wrap "[" "]"
, ppVisible = wrap "<" ">"
, ppHidden = id
, ppHiddenNoWindows = const ""
, ppUrgent = id
, ppSep = " : "
, ppWsSep = " "
, ppTitle = shorten 80
, ppLayout = id
, ppOrder = id
, ppOutput = putStrLn
, ppSort = getSortByIndex
, ppExtras = []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment