summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/MultiCpu.hs
diff options
context:
space:
mode:
authorEric Mrak <mail@ericmrak.info>2014-03-13 20:23:34 -0700
committerEric Mrak <mail@ericmrak.info>2014-03-13 20:23:34 -0700
commit4e734b02da0eeffa14bf5960e92f4e7dcdac23dd (patch)
tree24b426392076a51f3b64f8afe0d7f486b638ba6b /src/Plugins/Monitors/MultiCpu.hs
parent7457cf578a283264e0c1297eb5a672601aca9a38 (diff)
downloadxmobar-4e734b02da0eeffa14bf5960e92f4e7dcdac23dd.tar.gz
xmobar-4e734b02da0eeffa14bf5960e92f4e7dcdac23dd.tar.bz2
Cpu now has vbar
Diffstat (limited to 'src/Plugins/Monitors/MultiCpu.hs')
-rw-r--r--src/Plugins/Monitors/MultiCpu.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Plugins/Monitors/MultiCpu.hs b/src/Plugins/Monitors/MultiCpu.hs
index 48c0bc1..2089fca 100644
--- a/src/Plugins/Monitors/MultiCpu.hs
+++ b/src/Plugins/Monitors/MultiCpu.hs
@@ -19,7 +19,9 @@ import qualified Data.ByteString.Lazy.Char8 as B
import Data.List (isPrefixOf, transpose, unfoldr)
import Data.IORef (IORef, newIORef, readIORef, writeIORef)
+variables :: [String]
variables = ["bar", "vbar","total","user","nice","system","idle"]
+vNum :: Int
vNum = length variables
multiCpuConfig :: IO MConfig