diff options
author | jao <jao@gnu.org> | 2022-03-30 22:23:10 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-03-30 22:23:10 +0100 |
commit | 7af1ddc5ebbe9d651ffbc057614be18637e69939 (patch) | |
tree | 1b754ad28c697ced892215c43378b39afa58bc2b /src/Xmobar/Plugins/Monitors/Thermal.hs | |
parent | 211af7d4cb5b29e71bcfbedae8f8c86009e99ad0 (diff) | |
download | xmobar-7af1ddc5ebbe9d651ffbc057614be18637e69939.tar.gz xmobar-7af1ddc5ebbe9d651ffbc057614be18637e69939.tar.bz2 |
Fix: consistent use of configured nastring instead of hardcoded N/A
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/Thermal.hs')
-rw-r--r-- | src/Xmobar/Plugins/Monitors/Thermal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Plugins/Monitors/Thermal.hs b/src/Xmobar/Plugins/Monitors/Thermal.hs index 320ae17..bfbbda0 100644 --- a/src/Xmobar/Plugins/Monitors/Thermal.hs +++ b/src/Xmobar/Plugins/Monitors/Thermal.hs @@ -36,4 +36,4 @@ runThermal args = do then do number <- io $ fmap ((read :: String -> Int) . stringParser (1, 0)) (B.readFile file) thermal <- showWithColors show number parseTemplate [ thermal ] - else return $ "Thermal (" ++ zone ++ "): N/A" + else getConfigValue naString |