summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-02-13 03:09:43 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-02-13 03:09:43 +0100
commit2821ab1ad61d5fd4c8d15cab50c69503419cb892 (patch)
tree28749c7f158c674e6b165cb7904fbb9d521568d9 /src/Plugins/Monitors.hs
parent39bfcaa6ae265d59736d35f61f515b8cdd85fd3d (diff)
downloadxmobar-2821ab1ad61d5fd4c8d15cab50c69503419cb892.tar.gz
xmobar-2821ab1ad61d5fd4c8d15cab50c69503419cb892.tar.bz2
More accurate net monitor rates (issue 42)
Diffstat (limited to 'src/Plugins/Monitors.hs')
-rw-r--r--src/Plugins/Monitors.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors.hs b/src/Plugins/Monitors.hs
index 14d97a2..616ae21 100644
--- a/src/Plugins/Monitors.hs
+++ b/src/Plugins/Monitors.hs
@@ -105,7 +105,7 @@ instance Exec Monitors where
alias (Volume m c _ _) = m ++ ":" ++ c
#endif
start (Weather s a r) = runM (a ++ [s]) weatherConfig runWeather r
- start (Network i a r) = runM (a ++ [i]) netConfig runNet r
+ start (Network i a r) = startNet i a r
start (Thermal z a r) = runM (a ++ [z]) thermalConfig runThermal r
start (Memory a r) = runM a memConfig runMem r
start (Swap a r) = runM a swapConfig runSwap r