summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2020-06-13 19:48:23 +0100
committerjao <jao@gnu.org>2020-06-13 19:48:23 +0100
commit53a07a4179eaecb3493e56fc2dc03447b2753af0 (patch)
tree7e6b4affede00b894e8e1b3ab75d0755e333e162 /src/Xmobar
parentad1e53d34dbde8784f2713ae19b377b81d5cf9a7 (diff)
downloadxmobar-53a07a4179eaecb3493e56fc2dc03447b2753af0.tar.gz
xmobar-53a07a4179eaecb3493e56fc2dc03447b2753af0.tar.bz2
Version bump, changelog, readme
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs b/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
index 19a34b1..a030943 100644
--- a/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
+++ b/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
@@ -88,8 +88,7 @@ hwmonPaths :: IO [String]
hwmonPaths = do p <- coretempPath
let cps = [ p ++ "hwmon/hwmon" ++ show (x :: Int) ++ "/"
| x <- [0..9] ]
- xs <- filterM doesDirectoryExist cps
- return xs
+ filterM doesDirectoryExist cps
-- | Checks Labels, if they refer to a core and returns Strings of core-
-- temperatures.