diff options
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Util/Themes.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/XMonad/Util/Themes.hs b/XMonad/Util/Themes.hs index fab0f5b..540b31c 100644 --- a/XMonad/Util/Themes.hs +++ b/XMonad/Util/Themes.hs @@ -16,6 +16,7 @@ module XMonad.Util.Themes ( -- * Usage -- $usage listOfThemes + , ppThemeInfo , xmonadTheme , smallClean , robertTheme @@ -68,6 +69,12 @@ data ThemeInfo = newTheme :: ThemeInfo newTheme = TI "" "" "" defaultTheme +ppThemeInfo :: ThemeInfo -> String +ppThemeInfo t = themeName t <> themeDescription t <> "by" <> themeAuthor t + where "" <> x = x + x <> y = x ++ " - " ++ y + + listOfThemes :: [ThemeInfo] listOfThemes = [ xmonadTheme , smallClean |