diff options
author | jao <jao@gnu.org> | 2018-10-10 03:11:36 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-10-10 03:11:36 +0100 |
commit | 559c61db9571f887263bdfc0f736aaa2bab9e265 (patch) | |
tree | c08d66ea111e4fbc1c7371c91b78cb870bd8d675 | |
parent | d34f6168b1a07806b13c2668dea0b60149c71916 (diff) | |
download | xmobar-559c61db9571f887263bdfc0f736aaa2bab9e265.tar.gz xmobar-559c61db9571f887263bdfc0f736aaa2bab9e265.tar.bz2 |
Revert "More paths for CoreTemp (issue #291)"
This reverts commit 938a8d8307c1c4794c5fcf269c587c3c5c5e70df.
-rw-r--r-- | src/Plugins/Monitors/CoreTemp.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Plugins/Monitors/CoreTemp.hs b/src/Plugins/Monitors/CoreTemp.hs index ca2f07b..e19baf0 100644 --- a/src/Plugins/Monitors/CoreTemp.hs +++ b/src/Plugins/Monitors/CoreTemp.hs @@ -39,8 +39,7 @@ runCoreTemp _ = do failureMessage <- getConfigValue naString let path = ["/sys/bus/platform/devices/coretemp.", "/temp", "_input"] path' = ["/sys/bus/platform/devices/coretemp.", "/hwmon/hwmon", "/temp", "_input"] - path'' = ["/sys/class/hwmon/hwmon", "/device/hwmon/hwmon", "/temp", "_input"] lbl = Just ("_label", read . dropWhile (not . isDigit)) divisor = 1e3 :: Double show' = showDigits (max 0 dn) - checkedDataRetrieval failureMessage [path, path', path''] lbl (/divisor) show' + checkedDataRetrieval failureMessage [path, path'] lbl (/divisor) show' |