blob: d2267ae0bfd3928573e5a97eea9b966e4c0de286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
-----------------------------------------------------------------------------
-- |
-- 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>"
|