diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-08-06 22:40:47 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-08-06 22:40:47 +0200 |
commit | 25886ea48e9083240ce09f42755f6ef11455e51f (patch) | |
tree | 11be12e2673e2d66d491c6271ca9823b4fb08f51 /Config.hs | |
parent | 171112160c38ea941cb16cfb04fb66fb3c9a5a6a (diff) | |
download | xmobar-25886ea48e9083240ce09f42755f6ef11455e51f.tar.gz xmobar-25886ea48e9083240ce09f42755f6ef11455e51f.tar.bz2 |
Add mail watcher plugin
darcs-hash:20080806204047-a5988-a8917d4a02c8ddf9afa34780e6794d3f141d16a0.gz
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -28,6 +28,10 @@ import Plugins.Date import Plugins.PipeReader import Plugins.StdinReader +#ifdef INOTIFY +import Plugins.Mail +#endif + -- $config -- Configuration data type and default configuration @@ -74,5 +78,11 @@ defaultConfig = -- the 'Runnable.Runnable' Read instance. To install a plugin just add -- the plugin's type to the list of types appearing in this function's type -- signature. -runnableTypes :: (Command,(Monitors,(Date,(PipeReader,(StdinReader,()))))) +runnableTypes :: (Command,(Monitors,(Date,(PipeReader,(StdinReader, +#ifdef INOTIFY + (Mail,()) +#else + () +#endif + ))))) runnableTypes = undefined |