blob: 2bde4c4922d4ac1b7eb158b3666dd0a8cef42fb1 (
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
25
|
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.HelloWorld
-- Copyright : (c) Andrea Rossato
-- License : BSD-style (see LICENSE)
--
-- Maintainer : Andrea Rossato <andrea.rossato@unibz.it>
-- Stability : unstable
-- Portability : unportable
--
-- A plugin example for Xmobar, a text based status bar
--
-----------------------------------------------------------------------------
module Plugins.HelloWorld where
import Plugins
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>"
|