summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors.hs
diff options
context:
space:
mode:
authorTony Morris <tmorris@tmorris.net>2014-08-29 08:44:17 +1000
committerTony Morris <tmorris@tmorris.net>2014-08-29 08:44:17 +1000
commit4fc5b8a1b5998dff4717478b6772878c1ed2de7f (patch)
tree2b81c255e5f9e109a1e5bc937681659382c1d095 /src/Plugins/Monitors.hs
parentbbaf4e5800e6f5dea7ff3e09f260a94b5d432091 (diff)
downloadxmobar-4fc5b8a1b5998dff4717478b6772878c1ed2de7f.tar.gz
xmobar-4fc5b8a1b5998dff4717478b6772878c1ed2de7f.tar.bz2
hlint improvements
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 9aef386..68ec3de 100644
--- a/src/Plugins/Monitors.hs
+++ b/src/Plugins/Monitors.hs
@@ -108,15 +108,15 @@ instance Exec Monitors where
alias (Cpu _ _) = "cpu"
alias (MultiCpu _ _) = "multicpu"
alias (Battery _ _) = "battery"
- alias (BatteryP _ _ _)= "battery"
+ alias (BatteryP {})= "battery"
alias (BatteryN _ _ _ a)= a
alias (Brightness _ _) = "bright"
alias (CpuFreq _ _) = "cpufreq"
alias (TopProc _ _) = "top"
alias (TopMem _ _) = "topmem"
alias (CoreTemp _ _) = "coretemp"
- alias (DiskU _ _ _) = "disku"
- alias (DiskIO _ _ _) = "diskio"
+ alias (DiskU {}) = "disku"
+ alias (DiskIO {}) = "diskio"
alias (Uptime _ _) = "uptime"
alias (CatInt n _ _ _) = "cat" ++ show n
#ifdef IWLIB