From 9e24f1964ebd6c642ebfc68f2932c363c1ec81e6 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Fri, 28 Sep 2007 14:04:32 +0200 Subject: Added a plugin to read from stdin Try it with: xmobar -t "%StdinReader%" -c '[Run StdinReader]' then start writing ;) darcs-hash:20070928120432-d6583-8b2a37548db9176c0dcfe7818c5de62722d889fb.gz --- Config.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index 0493476..bc01f44 100644 --- a/Config.hs +++ b/Config.hs @@ -24,6 +24,7 @@ import {-# SOURCE #-} Runnable import Plugins.Monitors import Plugins.Date import Plugins.PipeReader +import Plugins.StdinReader -- $config -- Configuration data type and default configuration @@ -69,5 +70,5 @@ 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,())))) +runnableTypes :: (Command,(Monitors,(Date,(PipeReader,(StdinReader,()))))) runnableTypes = undefined -- cgit v1.2.3