taffybar 1.0.0 → 1.0.1
raw patch · 3 files changed
+9/−8 lines, 3 filesdep ~gtk-traymanager
Dependency ranges changed: gtk-traymanager
Files
- src/System/Taffybar/Widgets/Graph.hs +4/−4
- src/System/Taffybar/Widgets/VerticalBar.hs +3/−2
- taffybar.cabal +2/−2
src/System/Taffybar/Widgets/Graph.hs view
@@ -10,9 +10,9 @@ -- -- Note: all of the data fed to this widget should be in the range -- [0,1].-module System.Taffybar.Widgets.Graph+module System.Taffybar.Widgets.Graph ( -- * Types- ( GraphHandle+ GraphHandle , GraphConfig(..) , GraphDirection(..) , GraphStyle(..)@@ -52,9 +52,9 @@ -- | The configuration options for the graph. The padding is the -- number of pixels reserved as blank space around the widget in each -- direction.-data GraphConfig = GraphConfig+data GraphConfig = GraphConfig { -- | Number of pixels of padding on each side of the graph widget- { graphPadding :: Int+ graphPadding :: Int -- | The background color of the graph (default black) , graphBackgroundColor :: (Double, Double, Double) -- | The border color drawn around the graph (default gray)
src/System/Taffybar/Widgets/VerticalBar.hs view
@@ -29,8 +29,9 @@ data BarDirection = HORIZONTAL | VERTICAL data BarConfig- = BarConfig -- | Color of the border drawn around the widget- { barBorderColor :: (Double, Double, Double)+ = BarConfig {+ -- | Color of the border drawn around the widget+ barBorderColor :: (Double, Double, Double) -- | The background color of the widget , barBackgroundColor :: Double -> (Double, Double, Double) -- | A function to determine the color of the widget for the current data point
taffybar.cabal view
@@ -1,5 +1,5 @@ name: taffybar-version: 1.0.0+version: 1.0.1 synopsis: A desktop bar similar to xmobar, but with more GUI license: BSD3 license-file: LICENSE@@ -41,7 +41,7 @@ , enclosed-exceptions >= 1.0.0.1 , filepath , glib- , gtk-traymanager >= 1.0.0 && < 2.0.0+ , gtk-traymanager >= 1.0.1 && < 2.0.0 , gtk3 , mtl >= 2 , multimap >= 1.2.1