summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/CpuFreq.hs
diff options
context:
space:
mode:
authorAda Joule <ada.fulmina@gmail.com>2018-02-03 23:48:52 +0700
committerAda Joule <ada.fulmina@gmail.com>2018-02-03 23:48:52 +0700
commit7fae6393d5a8b449a5fbb88797d5566ecd403213 (patch)
tree5416aa5c2d0d00c9c151900f17eacfdb9ebc4168 /src/Plugins/Monitors/CpuFreq.hs
parentc2a493e8b26f39d0d7022b3caacdd6808a975419 (diff)
downloadxmobar-7fae6393d5a8b449a5fbb88797d5566ecd403213.tar.gz
xmobar-7fae6393d5a8b449a5fbb88797d5566ecd403213.tar.bz2
Remove x from ghzFmt
Diffstat (limited to 'src/Plugins/Monitors/CpuFreq.hs')
-rw-r--r--src/Plugins/Monitors/CpuFreq.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/CpuFreq.hs b/src/Plugins/Monitors/CpuFreq.hs
index 7e615a6..34240ee 100644
--- a/src/Plugins/Monitors/CpuFreq.hs
+++ b/src/Plugins/Monitors/CpuFreq.hs
@@ -39,6 +39,6 @@ runCpuFreq _ = do
else ghzFmt x
| otherwise = ghzFmt x ++ if suffix then "GHz" else ""
mhzFmt x = show (round (x * 1000) :: Integer)
- ghzFmt x = showDigits ddigits x
+ ghzFmt = showDigits ddigits
failureMessage <- getConfigValue naString
checkedDataRetrieval failureMessage [path] Nothing (/divisor) fmt