summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-15 01:01:21 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-15 01:01:21 +0100
commitdf8768ae3ad3a3f7cc701fb0efa8c86ee8b76b34 (patch)
tree2364f8f990b16ff3279026b13207cf6c0b2e57ab
parent60e980ed11bf47e33ab2b266fe9152b630726ab0 (diff)
downloadxmobar-df8768ae3ad3a3f7cc701fb0efa8c86ee8b76b34.tar.gz
xmobar-df8768ae3ad3a3f7cc701fb0efa8c86ee8b76b34.tar.bz2
White space
-rw-r--r--Commands.hs2
-rw-r--r--Plugins/Monitors.hs6
2 files changed, 4 insertions, 4 deletions
diff --git a/Commands.hs b/Commands.hs
index ce778cf..d205dbf 100644
--- a/Commands.hs
+++ b/Commands.hs
@@ -73,7 +73,7 @@ instance Exec Command where
cb $ "Could not execute command " ++ prog
--- | Work arount to the Int max bound: since threadDelay takes an Int, it
+-- | Work around to the Int max bound: since threadDelay takes an Int, it
-- is not possible to set a thread delay grater than about 45 minutes.
-- With a little recursion we solve the problem.
tenthSeconds :: Int -> IO ()
diff --git a/Plugins/Monitors.hs b/Plugins/Monitors.hs
index a19f82a..9887d74 100644
--- a/Plugins/Monitors.hs
+++ b/Plugins/Monitors.hs
@@ -103,11 +103,11 @@ instance Exec Monitors where
start (Cpu a r) = runM a cpuConfig runCpu r
start (MultiCpu a r) = runM a multiCpuConfig runMultiCpu r
start (Battery a r) = runM a battConfig runBatt r
- start (BatteryP s a r) = runM a battConfig (runBatt' s) r
+ start (BatteryP s a r) = runM a battConfig (runBatt' s) r
start (CpuFreq a r) = runM a cpuFreqConfig runCpuFreq r
start (CoreTemp a r) = runM a coreTempConfig runCoreTemp r
- start (DiskU s a r) = runM a diskUConfig (runDiskU s) r
- start (DiskIO s a r) = runM a diskIOConfig (runDiskIO s) r
+ 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 (Uptime a r) = runM a uptimeConfig runUptime r
start (TopProc a r) = startTop a r