taffybar-0.1.2: A desktop bar similar to xmobar, but with more GUI

System.Taffybar.Widgets.PollingBar

Contents

Description

Like the vertical bar, but this widget automatically updates itself with a callback at fixed intervals.

Synopsis

Types

data BarConfig

Constructors

BarConfig 

Fields

barBorderColor :: (Double, Double, Double)

Color of the border drawn around the widget

barBackgroundColor :: (Double, Double, Double)

The background color of the widget

barColor :: Double -> (Double, Double, Double)

A function to determine the color of the widget for the current data point

barPadding :: Int

Number of pixels of padding around the widget

barWidth :: Int
 

Constructors and accessors

defaultBarConfig :: (Double -> (Double, Double, Double)) -> BarConfig

A default bar configuration. The color of the active portion of the bar must be specified.