diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-09-27 19:36:51 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-09-27 19:36:51 +0200 |
commit | 341d5f106342a4d2880c1d5fa6abcdcbc7eaceba (patch) | |
tree | ee42a7014d6f5cdeb460923437e0108aa06810a9 /Plugins | |
parent | 461c490afd909e452ad8f641b1bc651cab438016 (diff) | |
download | xmobar-341d5f106342a4d2880c1d5fa6abcdcbc7eaceba.tar.gz xmobar-341d5f106342a4d2880c1d5fa6abcdcbc7eaceba.tar.bz2 |
HelloWorld: updated to recent API changes
darcs-hash:20070927173651-d6583-498f92a410459510b38e53dfbd582baf04bf0fd1.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 c3a6a69..5c0a0b7 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -17,9 +17,9 @@ module Plugins.HelloWorld where import Plugins data HelloWorld = HelloWorld - deriving (Read) + deriving (Read, Show) instance Exec HelloWorld where - run HelloWorld = return "<fc=red>Hello World!!</fc>" - rate HelloWorld = 1000 + rate HelloWorld = 0 alias HelloWorld = "helloWorld" + start HelloWorld cb = cb "<fc=red>Hello World!!</fc>" |