summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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