summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Monitors.hs')
-rw-r--r--src/Plugins/Monitors.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Plugins/Monitors.hs b/src/Plugins/Monitors.hs
index bea91eb..009da68 100644
--- a/src/Plugins/Monitors.hs
+++ b/src/Plugins/Monitors.hs
@@ -50,7 +50,7 @@ import Plugins.Monitors.Mpris
data Monitors = Weather Station Args Rate
| Network Interface Args Rate
- | DynNetwork [Interface] Args Rate
+ | DynNetwork Args Rate
| BatteryP [String] Args Rate
| DiskU DiskSpec Args Rate
| DiskIO DiskSpec Args Rate
@@ -96,7 +96,7 @@ type DiskSpec = [(String, String)]
instance Exec Monitors where
alias (Weather s _ _) = s
alias (Network i _ _) = i
- alias (DynNetwork _ _ _) = "dynnetwork"
+ alias (DynNetwork _ _) = "dynnetwork"
alias (Thermal z _ _) = z
alias (ThermalZone z _ _) = "thermal" ++ show z
alias (Memory _ _) = "memory"
@@ -128,7 +128,7 @@ instance Exec Monitors where
alias (Mpris2 _ _ _) = "mpris2"
#endif
start (Network i a r) = startNet i a r
- start (DynNetwork is a r) = startDynNet is a r
+ start (DynNetwork a r) = startDynNet a r
start (Cpu a r) = startCpu a r
start (MultiCpu a r) = startMultiCpu a r
start (TopProc a r) = startTop a r