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/Swap.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/Swap.hs')
-rw-r--r-- | Monitors/Swap.hs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Monitors/Swap.hs b/Monitors/Swap.hs index e83b1e0..a2091e8 100644 --- a/Monitors/Swap.hs +++ b/Monitors/Swap.hs @@ -21,9 +21,6 @@ import qualified Data.ByteString.Lazy.Char8 as B swapConfig :: IO MConfig swapConfig = mkMConfig "Swap: <usedratio>" -- template - package -- package - "" -- usage tail? - [] -- added args ["total", "used", "free", "usedratio"] -- available replacements fileMEM :: IO B.ByteString @@ -46,18 +43,8 @@ formatSwap x = lasts <- mapM (showWithColors f2) tl return $ firsts ++ lasts -package :: String -package = "xmb-swap" - runSwap :: [String] -> Monitor String runSwap _ = do m <- io $ parseMEM l <- formatSwap m parseTemplate l - -{- -main :: IO () -main = - do let af = runSwap [] - runMonitor swapConfig af runSwap --} |