summaryrefslogtreecommitdiffhomepage
path: root/Monitors/Mem.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-11 18:50:35 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-11 18:50:35 +0200
commitdf36230da4d10d32758736d30eab0fd2073f0578 (patch)
tree490f0c447afc6a3c5b157dd012460fb3866fd358 /Monitors/Mem.hs
parent3fff39ac86711de214bbe8a7947296eca2b3fbfb (diff)
downloadxmobar-df36230da4d10d32758736d30eab0fd2073f0578.tar.gz
xmobar-df36230da4d10d32758736d30eab0fd2073f0578.tar.bz2
removed from monitors code not used anymore
darcs-hash:20070711165035-d6583-e556a6910bf8deb91677a5d590eb45f157a400d7.gz
Diffstat (limited to 'Monitors/Mem.hs')
-rw-r--r--Monitors/Mem.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/Monitors/Mem.hs b/Monitors/Mem.hs
index b65715d..dd132a7 100644
--- a/Monitors/Mem.hs
+++ b/Monitors/Mem.hs
@@ -19,9 +19,6 @@ import Monitors.Common
memConfig :: IO MConfig
memConfig = mkMConfig
"Mem: <usedratio>% (<cache>M)" -- template
- package -- package
- "" -- usage tail?
- [] -- added args
["total", "free", "buffer", -- available replacements
"cache", "rest", "used", "usedratio"]
@@ -43,18 +40,8 @@ formatMem x =
do let f n = show (takeDigits 2 n)
mapM (showWithColors f) x
-package :: String
-package = "xmb-mem"
-
runMem :: [String] -> Monitor String
runMem _ =
do m <- io $ parseMEM
l <- formatMem m
parseTemplate l
-
-{-
-main :: IO ()
-main =
- do let af = runMem []
- runMonitor monitorConfig af runMem
--}