summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorFelix Springer <felixspringer149@gmail.com>2019-07-10 19:08:03 +0200
committerFelix Springer <felixspringer149@gmail.com>2019-07-10 19:08:03 +0200
commit31619bf143133f167349f668508e5ff255bdf9b2 (patch)
tree865eacb1e3b0f5eb456f148bfd572a8e5af1830a /src
parentf0ff12bc2d9e16a93f8fa9325fc1bd6d44d16e0b (diff)
downloadxmobar-31619bf143133f167349f668508e5ff255bdf9b2.tar.gz
xmobar-31619bf143133f167349f668508e5ff255bdf9b2.tar.bz2
fixed template
Diffstat (limited to 'src')
-rw-r--r--src/Xmobar/Plugins/Monitors/CoreTemp.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Xmobar/Plugins/Monitors/CoreTemp.hs b/src/Xmobar/Plugins/Monitors/CoreTemp.hs
index e5c494e..ac1d37a 100644
--- a/src/Xmobar/Plugins/Monitors/CoreTemp.hs
+++ b/src/Xmobar/Plugins/Monitors/CoreTemp.hs
@@ -20,9 +20,8 @@ import Xmobar.Plugins.Monitors.Common
-- | Generate Config with a default template and options.
coreTempConfig :: IO MConfig
coreTempConfig = mkMConfig coreTempTemplate coreTempOptions
- where coreTempTemplate = "Temp: <total>°C"
- coreTempOptions = map (("core" ++) . show) [0 :: Int ..] ++
- ["total"]
+ where coreTempTemplate = "Temp: <core0>°C"
+ coreTempOptions = map (("core" ++) . show) [0 :: Int ..]
-- | FilePaths to read temperature from. Strings are seperated, where to
-- insert numbers.