summaryrefslogtreecommitdiffhomepage
path: root/Config.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:40:47 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:40:47 +0200
commit25886ea48e9083240ce09f42755f6ef11455e51f (patch)
tree11be12e2673e2d66d491c6271ca9823b4fb08f51 /Config.hs
parent171112160c38ea941cb16cfb04fb66fb3c9a5a6a (diff)
downloadxmobar-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.hs12
1 files changed, 11 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index 9dbd9e0..1f4cab1 100644
--- a/Config.hs
+++ b/Config.hs
@@ -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