diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-11 18:50:35 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-11 18:50:35 +0200 |
commit | df36230da4d10d32758736d30eab0fd2073f0578 (patch) | |
tree | 490f0c447afc6a3c5b157dd012460fb3866fd358 /Monitors/Cpu.hs | |
parent | 3fff39ac86711de214bbe8a7947296eca2b3fbfb (diff) | |
download | xmobar-df36230da4d10d32758736d30eab0fd2073f0578.tar.gz xmobar-df36230da4d10d32758736d30eab0fd2073f0578.tar.bz2 |
removed from monitors code not used anymore
darcs-hash:20070711165035-d6583-e556a6910bf8deb91677a5d590eb45f157a400d7.gz
Diffstat (limited to 'Monitors/Cpu.hs')
-rw-r--r-- | Monitors/Cpu.hs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Monitors/Cpu.hs b/Monitors/Cpu.hs index 456add0..b3a125d 100644 --- a/Monitors/Cpu.hs +++ b/Monitors/Cpu.hs @@ -20,9 +20,6 @@ import qualified Data.ByteString.Lazy.Char8 as B cpuConfig :: IO MConfig cpuConfig = mkMConfig "Cpu: <total>" -- template - package -- package - "" -- usage tail? - [] -- added args ["total","user","nice","system","idle"] -- available replacements cpuData :: IO [Float] @@ -49,18 +46,8 @@ formatCpu x = list = t:x mapM (showWithColors f) . map (* 100) $ list -package :: String -package = "xmb-cpu" - runCpu :: [String] -> Monitor String runCpu _ = do c <- io $ parseCPU l <- formatCpu c parseTemplate l - -{- -main :: IO () -main = - do let af = runCpu [] - runMonitor cpuConfig af runCpu --} |