summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Volume.hs
diff options
context:
space:
mode:
authorEric Mrak <mail@ericmrak.info>2014-03-15 14:29:30 -0700
committerEric Mrak <mail@ericmrak.info>2014-03-15 14:29:30 -0700
commitb1c1b938123b585ccdb66c69e1e7a2903a8e97ad (patch)
tree8c6eafbd15829df3e527509a6737ffb59c5b24c3 /src/Plugins/Monitors/Volume.hs
parent48167e6f50f61453a269b321c8d3c8dad7a347b4 (diff)
downloadxmobar-b1c1b938123b585ccdb66c69e1e7a2903a8e97ad.tar.gz
xmobar-b1c1b938123b585ccdb66c69e1e7a2903a8e97ad.tar.bz2
showVerticalBar now takes the same arguments as showPercentBar
Diffstat (limited to 'src/Plugins/Monitors/Volume.hs')
-rw-r--r--src/Plugins/Monitors/Volume.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/Volume.hs b/src/Plugins/Monitors/Volume.hs
index d7122d1..22b7f6c 100644
--- a/src/Plugins/Monitors/Volume.hs
+++ b/src/Plugins/Monitors/Volume.hs
@@ -78,7 +78,7 @@ formatVolBar lo hi v =
formatVolVBar :: Integer -> Integer -> Integer -> Monitor String
formatVolVBar lo hi v =
- showVerticalBar (100 * x) where x = percent v lo hi
+ showVerticalBar (100 * x) x where x = percent v lo hi
switchHelper :: VolumeOpts
-> (VolumeOpts -> Maybe String)