summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Mem.hs
diff options
context:
space:
mode:
authorJohn Goerzen <jgoerzen@complete.org>2008-09-17 05:11:53 +0200
committerJohn Goerzen <jgoerzen@complete.org>2008-09-17 05:11:53 +0200
commit61c81eecece9ef4b3aabeb9c9bde4966d6c3ccfa (patch)
treee23ea35f559e32ae9d742ae0f5d4e503c33cc43f /Plugins/Monitors/Mem.hs
parent49e05f4935cf7067aa55a73a175edd7d08dba68f (diff)
downloadxmobar-61c81eecece9ef4b3aabeb9c9bde4966d6c3ccfa.tar.gz
xmobar-61c81eecece9ef4b3aabeb9c9bde4966d6c3ccfa.tar.bz2
Also avoid excessive precision in memory displays
darcs-hash:20080917031153-c2a52-f7d6550e2b21d4dac8e6ed68a807f7e87162eb7d.gz
Diffstat (limited to 'Plugins/Monitors/Mem.hs')
-rw-r--r--Plugins/Monitors/Mem.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Mem.hs b/Plugins/Monitors/Mem.hs
index 65a8e96..16fc3a4 100644
--- a/Plugins/Monitors/Mem.hs
+++ b/Plugins/Monitors/Mem.hs
@@ -37,7 +37,7 @@ parseMEM =
formatMem :: [Float] -> Monitor [String]
formatMem x =
- do let f n = showDigits 1 n
+ do let f n = showDigits 0 n
mapM (showWithColors f) x
runMem :: [String] -> Monitor String