summaryrefslogtreecommitdiffhomepage
path: root/Plugins
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-10-03 13:07:43 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-10-03 13:07:43 +0200
commitd7778c081a053cf571b041ed6f6d21c11e502912 (patch)
tree96413d3af37b8bc6f768e742151c298013f4dd45 /Plugins
parentc86bc6bf7704740c357e5a30ce8c2eee114d5b38 (diff)
downloadxmobar-d7778c081a053cf571b041ed6f6d21c11e502912.tar.gz
xmobar-d7778c081a053cf571b041ed6f6d21c11e502912.tar.bz2
HelloWorld defines only run
darcs-hash:20071003110743-d6583-00a55879b712ba4ec61ad69dd7c02dea77d1ca51.gz
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/HelloWorld.hs5
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>"