diff options
Diffstat (limited to 'src/Plugins/Monitors/Volume.hs')
-rw-r--r-- | src/Plugins/Monitors/Volume.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Plugins/Monitors/Volume.hs b/src/Plugins/Monitors/Volume.hs index 5702137..0023d41 100644 --- a/src/Plugins/Monitors/Volume.hs +++ b/src/Plugins/Monitors/Volume.hs @@ -187,10 +187,10 @@ runVolumeWith opts mixerName controlName = do getFormatDB :: VolumeOpts -> Maybe Integer -> Monitor String getFormatDB _ Nothing = unavailable - getFormatDB opts (Just d) = formatDb opts d + getFormatDB opts' (Just d) = formatDb opts' d getFormatSwitch :: VolumeOpts -> Maybe Bool -> Monitor String getFormatSwitch _ Nothing = unavailable - getFormatSwitch opts (Just sw) = formatSwitch opts sw + getFormatSwitch opts' (Just sw) = formatSwitch opts' sw unavailable = getConfigValue naString |