diff options
author | Eric Mrak <mail@ericmrak.info> | 2014-03-15 14:29:30 -0700 |
---|---|---|
committer | Eric Mrak <mail@ericmrak.info> | 2014-03-15 14:29:30 -0700 |
commit | b1c1b938123b585ccdb66c69e1e7a2903a8e97ad (patch) | |
tree | 8c6eafbd15829df3e527509a6737ffb59c5b24c3 /src/Plugins/Monitors/Bright.hs | |
parent | 48167e6f50f61453a269b321c8d3c8dad7a347b4 (diff) | |
download | xmobar-b1c1b938123b585ccdb66c69e1e7a2903a8e97ad.tar.gz xmobar-b1c1b938123b585ccdb66c69e1e7a2903a8e97ad.tar.bz2 |
showVerticalBar now takes the same arguments as showPercentBar
Diffstat (limited to 'src/Plugins/Monitors/Bright.hs')
-rw-r--r-- | src/Plugins/Monitors/Bright.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/Bright.hs b/src/Plugins/Monitors/Bright.hs index 023478a..1c4cc01 100644 --- a/src/Plugins/Monitors/Bright.hs +++ b/src/Plugins/Monitors/Bright.hs @@ -77,7 +77,7 @@ runBright args = do NoFiles -> return "hurz" _ -> fmtPercent c >>= parseTemplate where fmtPercent :: Float -> Monitor [String] - fmtPercent c = do r <- showVerticalBar (100 * c) + fmtPercent c = do r <- showVerticalBar (100 * c) c s <- showPercentWithColors c t <- showPercentBar (100 * c) c return [r,s,t] |