diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-10-03 13:07:43 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-10-03 13:07:43 +0200 |
commit | d7778c081a053cf571b041ed6f6d21c11e502912 (patch) | |
tree | 96413d3af37b8bc6f768e742151c298013f4dd45 | |
parent | c86bc6bf7704740c357e5a30ce8c2eee114d5b38 (diff) | |
download | xmobar-d7778c081a053cf571b041ed6f6d21c11e502912.tar.gz xmobar-d7778c081a053cf571b041ed6f6d21c11e502912.tar.bz2 |
HelloWorld defines only run
darcs-hash:20071003110743-d6583-00a55879b712ba4ec61ad69dd7c02dea77d1ca51.gz
-rw-r--r-- | Plugins/HelloWorld.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index 2bde4c4..352a8a8 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -20,6 +20,5 @@ data HelloWorld = HelloWorld deriving (Read, Show) instance Exec HelloWorld where - rate HelloWorld = 0 - alias HelloWorld = "helloWorld" - start HelloWorld cb = cb "<fc=red>Hello World!!</fc>" + alias HelloWorld = "helloWorld" + run HelloWorld = return "<fc=red>Hello World!!</fc>" |