summaryrefslogtreecommitdiffhomepage
path: root/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index b120809..9d355ad 100644
--- a/Config.hs
+++ b/Config.hs
@@ -19,7 +19,6 @@ module Config ( -- * Configuration
, runnableTypes
) where
-
import Commands
import {-# SOURCE #-} Runnable
@@ -61,5 +60,11 @@ defaultConfig =
, template = "Uptime: <fc=#00FF00>%uptime%</fc> ** <fc=#FF0000>%date%</fc> %memory%"
}
+-- | This is the list of types that can be hidden inside
+-- 'Runnable.Runnable', the existential type that stores all commands
+-- to be executed by XMobar. It is used by 'Runnable.readRunnable' in
+-- 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,())
runnableTypes = undefined