summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/MultiCpu.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-10-06 00:01:33 +0100
committerjao <jao@gnu.org>2019-10-06 00:01:33 +0100
commit76eb5497f82329d4d3907f5bd94c09d504bc9bd2 (patch)
tree35444f0a15e567f7643aa10835ba77449b4b92b9 /src/Xmobar/Plugins/Monitors/MultiCpu.hs
parent4b30381ad102b30e311c17ab4c6c43e328f2cf66 (diff)
downloadxmobar-76eb5497f82329d4d3907f5bd94c09d504bc9bd2.tar.gz
xmobar-76eb5497f82329d4d3907f5bd94c09d504bc9bd2.tar.bz2
hlinit
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/MultiCpu.hs')
-rw-r--r--src/Xmobar/Plugins/Monitors/MultiCpu.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Plugins/Monitors/MultiCpu.hs b/src/Xmobar/Plugins/Monitors/MultiCpu.hs
index 70ae132..5e5c273 100644
--- a/src/Xmobar/Plugins/Monitors/MultiCpu.hs
+++ b/src/Xmobar/Plugins/Monitors/MultiCpu.hs
@@ -117,7 +117,7 @@ groupData = transpose . tail . splitEvery vNum
formatAutoCpus :: MultiCpuOpts -> [String] -> Monitor [String]
formatAutoCpus _ [] = return $ replicate vNum ""
formatAutoCpus opts xs =
- return $ map (if (contiguous opts) then concat else unwords) (groupData xs)
+ return $ map (if contiguous opts then concat else unwords) (groupData xs)
runMultiCpu :: CpuDataRef -> [String] -> Monitor String
runMultiCpu cref argv =