summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors.hs
diff options
context:
space:
mode:
authorFelix Springer <felixspringer149@gmail.com>2019-07-12 01:29:28 +0200
committerFelix Springer <felixspringer149@gmail.com>2019-07-12 01:29:28 +0200
commit95a94efccd1414235d16708be20c9e10f8f7db82 (patch)
tree25c18e798400e4c857a5adda38adf1537c3dbcbf /src/Xmobar/Plugins/Monitors.hs
parentde4869cdc4bf41b0913c16c0693948921df5b224 (diff)
downloadxmobar-95a94efccd1414235d16708be20c9e10f8f7db82.tar.gz
xmobar-95a94efccd1414235d16708be20c9e10f8f7db82.tar.bz2
moved CoreTemp to MultiCoreTemp
Diffstat (limited to 'src/Xmobar/Plugins/Monitors.hs')
-rw-r--r--src/Xmobar/Plugins/Monitors.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Xmobar/Plugins/Monitors.hs b/src/Xmobar/Plugins/Monitors.hs
index 63bd0eb..d40f84d 100644
--- a/src/Xmobar/Plugins/Monitors.hs
+++ b/src/Xmobar/Plugins/Monitors.hs
@@ -34,6 +34,7 @@ import Xmobar.Plugins.Monitors.Thermal
import Xmobar.Plugins.Monitors.ThermalZone
import Xmobar.Plugins.Monitors.CpuFreq
import Xmobar.Plugins.Monitors.CoreTemp
+import Xmobar.Plugins.Monitors.MultiCoreTemp
import Xmobar.Plugins.Monitors.Disk
import Xmobar.Plugins.Monitors.Top
import Xmobar.Plugins.Monitors.Uptime
@@ -72,6 +73,7 @@ data Monitors = Network Interface Args Rate
| Brightness Args Rate
| CpuFreq Args Rate
| CoreTemp Args Rate
+ | MultiCoreTemp Args Rate
| TopProc Args Rate
| TopMem Args Rate
| Uptime Args Rate
@@ -132,6 +134,7 @@ instance Exec Monitors where
alias (TopProc _ _) = "top"
alias (TopMem _ _) = "topmem"
alias (CoreTemp _ _) = "coretemp"
+ alias (MultiCoreTemp _ _) = "multicoretemp"
alias DiskU {} = "disku"
alias DiskIO {} = "diskio"
alias (Uptime _ _) = "uptime"
@@ -175,6 +178,7 @@ instance Exec Monitors where
start (Brightness a r) = runM a brightConfig runBright r
start (CpuFreq a r) = runM a cpuFreqConfig runCpuFreq r
start (CoreTemp a r) = startCoreTemp a r
+ start (MultiCoreTemp a r) = startMultiCoreTemp a r
start (DiskU s a r) = runM a diskUConfig (runDiskU s) r
start (DiskIO s a r) = startDiskIO s a r
start (Uptime a r) = runM a uptimeConfig runUptime r