blob: ccec53520c47c6b9971f1635158374b7b4c37e83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.Monitors.Cpu.Common
-- Copyright : (c) 2011, 2017 Jose Antonio Ortega Ruiz
-- (c) 2007-2010 Andrea Rossato
-- License : BSD-style (see LICENSE)
--
-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org>
-- Stability : unstable
-- Portability : unportable
--
-- A cpu monitor for Xmobar
--
-----------------------------------------------------------------------------
module Xmobar.Plugins.Monitors.Cpu.Common (CpuData(..)) where
data CpuData = CpuData {
cpuUser :: !Float,
cpuNice :: !Float,
cpuSystem :: !Float,
cpuIdle :: !Float,
cpuIowait :: !Float,
cpuTotal :: !Float
}
|