From dc670b15ba8b279e1119ac895dd681feab4e3939 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Tue, 25 Feb 2014 01:27:03 -0500 Subject: 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...). --- src/Config.hs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/Config.hs') 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 -- cgit v1.2.3