summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2014-02-25 01:27:03 -0500
committerAdam Vogt <vogt.adam@gmail.com>2014-02-25 12:29:04 -0500
commitdc670b15ba8b279e1119ac895dd681feab4e3939 (patch)
tree59ac3f96a4ab84bf43af7d88dc256d4353d258d1 /src/Config.hs
parentb739857ed4d2282e80a8908165ffda82fcc3ecdc (diff)
downloadxmobar-dc670b15ba8b279e1119ac895dd681feab4e3939.tar.gz
xmobar-dc670b15ba8b279e1119ac895dd681feab4e3939.tar.bz2
have disabled plugins still accept input
This change lets xmobar compiled without -fwith_inotify accept a config that mentions the Mail plugin with a warning (and display an Updating...).
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Config.hs b/src/Config.hs
index 4f03d93..eaf044a 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, TypeOperators #-}
+{-# LANGUAGE TypeOperators #-}
-----------------------------------------------------------------------------
-- |
@@ -37,14 +37,10 @@ import Plugins.EWMH
import Plugins.Kbd
import Plugins.Locks
-#ifdef INOTIFY
import Plugins.Mail
import Plugins.MBox
-#endif
-#ifdef DATEZONE
import Plugins.DateZone
-#endif
-- $config
-- Configuration data type and default configuration
@@ -135,11 +131,7 @@ infixr :*:
-- the plugin's type to the list of types (separated by ':*:') appearing in
-- this function's type signature.
runnableTypes :: Command :*: Monitors :*: Date :*: PipeReader :*: BufferedPipeReader :*: CommandReader :*: StdinReader :*: XMonadLog :*: EWMH :*: Kbd :*: Locks :*:
-#ifdef INOTIFY
Mail :*: MBox :*:
-#endif
-#ifdef DATEZONE
DateZone :*:
-#endif
()
runnableTypes = undefined