diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-12 23:56:15 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-12 23:56:15 +0200 |
commit | 20846e8dddb61eed64100b4f21b4b493b5005eac (patch) | |
tree | 602c5e36ec8bacf5c12082ff708a59e768fcc039 /Plugins | |
parent | 1126dd15b8e25aa4d72cb8efc269abb2e1136481 (diff) | |
download | xmobar-20846e8dddb61eed64100b4f21b4b493b5005eac.tar.gz xmobar-20846e8dddb61eed64100b4f21b4b493b5005eac.tar.bz2 |
removed the Show instance requirement for plugins
darcs-hash:20070712215615-d6583-463ad3d9d1282fd1f129f34f405c66e0795962fd.gz
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/HelloWorld.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index 2b52506..8e68713 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -16,10 +16,10 @@ module Plugins.HelloWorld where import Commands -data Plugin = HelloWorld - deriving (Show, Read) +data HelloWorld = HelloWorld + deriving (Read) -instance Exec Plugin where +instance Exec HelloWorld where run HelloWorld = return "<fc=red>Hello World!!</fc>" rate HelloWorld = 1000 alias HelloWorld = "helloWorld" |