summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Xmobar/Plugins/Monitors.hs2
-rw-r--r--src/Xmobar/Plugins/Monitors/K10Temp.hs2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Xmobar/Plugins/Monitors.hs b/src/Xmobar/Plugins/Monitors.hs
index 13e5694..8fd31b7 100644
--- a/src/Xmobar/Plugins/Monitors.hs
+++ b/src/Xmobar/Plugins/Monitors.hs
@@ -139,7 +139,7 @@ instance Exec Monitors where
alias (TopMem _ _) = "topmem"
alias (CoreTemp _ _) = "coretemp"
alias (MultiCoreTemp _ _) = "multicoretemp"
- alias (K10Temp _ _ _) = "k10temp"
+ alias K10Temp {} = "k10temp"
alias DiskU {} = "disku"
alias DiskIO {} = "diskio"
alias (Uptime _ _) = "uptime"
diff --git a/src/Xmobar/Plugins/Monitors/K10Temp.hs b/src/Xmobar/Plugins/Monitors/K10Temp.hs
index ea2856d..e76d01a 100644
--- a/src/Xmobar/Plugins/Monitors/K10Temp.hs
+++ b/src/Xmobar/Plugins/Monitors/K10Temp.hs
@@ -16,8 +16,6 @@ module Xmobar.Plugins.Monitors.K10Temp where
import Xmobar.Plugins.Monitors.Common
-import Data.Char (isDigit)
-
-- |
-- K10 temperature default configuration. Default template contains only the
-- die temperature, user should specify custom template in order to get more