summaryrefslogtreecommitdiffhomepage
path: root/Plugins
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-09-28 14:04:13 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-09-28 14:04:13 +0200
commit12761c1b36911694e77dc0203dac2e46d3273d37 (patch)
tree1239cd2c8ebc6554ac736044e7c9adf3a2b452e0 /Plugins
parent9212a2ee83a9fe79636953034b1a6a84d49a1d2c (diff)
downloadxmobar-12761c1b36911694e77dc0203dac2e46d3273d37.tar.gz
xmobar-12761c1b36911694e77dc0203dac2e46d3273d37.tar.bz2
Removed unused rate method
darcs-hash:20070928120413-d6583-9abe460d55a7e1782d425d624fb51d64d18b0615.gz
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/Date.hs1
-rw-r--r--Plugins/Monitors.hs6
2 files changed, 0 insertions, 7 deletions
diff --git a/Plugins/Date.hs b/Plugins/Date.hs
index 7b97916..115cb96 100644
--- a/Plugins/Date.hs
+++ b/Plugins/Date.hs
@@ -27,7 +27,6 @@ data Date = Date String String Int
instance Exec Date where
start (Date f _ r) cb = date f r cb
- rate (Date _ _ r) = r
alias (Date _ a _) = a
date :: String -> Int -> (String -> IO ()) -> IO ()
diff --git a/Plugins/Monitors.hs b/Plugins/Monitors.hs
index 32856d2..1321e38 100644
--- a/Plugins/Monitors.hs
+++ b/Plugins/Monitors.hs
@@ -46,12 +46,6 @@ instance Exec Monitors where
alias (Swap _ _) = "swap"
alias (Cpu _ _) = "cpu"
alias (Battery _ _) = "battery"
- rate (Weather _ _ r) = r
- rate (Network _ _ r) = r
- rate (Memory _ r) = r
- rate (Swap _ r) = r
- rate (Cpu _ r) = r
- rate (Battery _ r) = r
start (Weather s a r) = runM (a ++ [s]) weatherConfig runWeather r
start (Network i a r) = runM (a ++ [i]) netConfig runNet r
start (Memory a r) = runM a memConfig runMem r