summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors.hs
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-03-26 04:09:56 +0100
committerJose A Ortega Ruiz <jao@gnu.org>2010-03-26 04:09:56 +0100
commit9778203cf27e77a9ba6620423395a04642a640b7 (patch)
treea71fd48fccd37a89382144d39981ee4452b3c60d /Plugins/Monitors.hs
parentf6b0e885b7359f60d6da826b3bf8ca4301bb5f8c (diff)
downloadxmobar-9778203cf27e77a9ba6620423395a04642a640b7.tar.gz
xmobar-9778203cf27e77a9ba6620423395a04642a640b7.tar.bz2
Less resource hungry Top monitors.
Ignore-this: f963302295a675773ab3bfd54e458a0d darcs-hash:20100326030956-748be-df70f254d1274a3f4b576df392cf6c30a0f1f582.gz
Diffstat (limited to 'Plugins/Monitors.hs')
-rw-r--r--Plugins/Monitors.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/Monitors.hs b/Plugins/Monitors.hs
index 2aff132..158a990 100644
--- a/Plugins/Monitors.hs
+++ b/Plugins/Monitors.hs
@@ -48,7 +48,7 @@ data Monitors = Weather Station Args Rate
| Thermal Zone Args Rate
| CpuFreq Args Rate
| CoreTemp Args Rate
- | TopCpu Args Rate
+ | TopProc Args Rate
| TopMem Args Rate
#ifdef IWLIB
| Wireless Interface Args Rate
@@ -75,7 +75,7 @@ instance Exec Monitors where
alias (Battery _ _) = "battery"
alias (BatteryP _ _ _)= "battery"
alias (CpuFreq _ _) = "cpufreq"
- alias (TopCpu _ _) = "top"
+ alias (TopProc _ _) = "top"
alias (TopMem _ _) = "topmem"
alias (CoreTemp _ _) = "coretemp"
alias (DiskU _ _ _) = "disku"
@@ -98,4 +98,4 @@ instance Exec Monitors where
start (DiskU s a r) = runM a diskUConfig (runDiskU s) r
start (DiskIO s a r) = runM a diskIOConfig (runDiskIO s) r
start (TopMem a r) = runM a topMemConfig runTopMem r
- start (TopCpu a r) = startTopCpu a r
+ start (TopProc a r) = startTop a r