summaryrefslogtreecommitdiffhomepage
path: root/Config.hs
diff options
context:
space:
mode:
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