xmobar-0.29: examples/Plugins/HelloWorld.hs
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.HelloWorld
-- Copyright : (c) Andrea Rossato
-- License : BSD-style (see LICENSE)
--
-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org>
-- Stability : unstable
-- Portability : unportable
--
-- A plugin example for Xmobar, a text based status bar
--
-----------------------------------------------------------------------------
module Xmobar.Plugins.HelloWorld where
import Xmobar.Plugins
data HelloWorld = HelloWorld
deriving (Read, Show)
instance Exec HelloWorld where
alias HelloWorld = "helloWorld"
run HelloWorld = return "<fc=red>Hello World!!</fc>"