summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSam Kirby <sam.kirby94@hotmail.co.uk>2021-05-19 17:19:06 +0100
committerSam Kirby <sam.kirby94@hotmail.co.uk>2021-05-19 17:19:34 +0100
commit3fd15c848c2195b3ad7ea59c8b18fdbb05bbdb9d (patch)
tree151596d93495259ae37033232fdbe4f535ce66e8 /src
parent7d27b92f7e8104283bd71e3c5bbdcb7b7ec54301 (diff)
downloadxmobar-3fd15c848c2195b3ad7ea59c8b18fdbb05bbdb9d.tar.gz
xmobar-3fd15c848c2195b3ad7ea59c8b18fdbb05bbdb9d.tar.bz2
Remove unused import; apply lint hint
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