summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/Bright.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2020-08-07 03:33:15 +0100
committerjao <jao@gnu.org>2020-08-07 03:33:15 +0100
commit0e7c39d9ec6719a32eec0b696d7167faf6598757 (patch)
treeef731d961475e106ea12ad48bc39c6332e81c719 /src/Xmobar/Plugins/Monitors/Bright.hs
parentf60a105dbd866cb1ac23fb3277ff42f896c7f056 (diff)
downloadxmobar-0e7c39d9ec6719a32eec0b696d7167faf6598757.tar.gz
xmobar-0e7c39d9ec6719a32eec0b696d7167faf6598757.tar.bz2
Redundant imports (mostly <$>) removed
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/Bright.hs')
-rw-r--r--src/Xmobar/Plugins/Monitors/Bright.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Xmobar/Plugins/Monitors/Bright.hs b/src/Xmobar/Plugins/Monitors/Bright.hs
index 5f0cd0d..12790e1 100644
--- a/src/Xmobar/Plugins/Monitors/Bright.hs
+++ b/src/Xmobar/Plugins/Monitors/Bright.hs
@@ -14,7 +14,6 @@
module Xmobar.Plugins.Monitors.Bright (brightConfig, runBright) where
-import Control.Applicative ((<$>))
import Control.Exception (SomeException, handle)
import qualified Data.ByteString.Lazy.Char8 as B
import System.FilePath ((</>))
@@ -89,4 +88,3 @@ readBright files = do
return (currVal / maxVal)
where grab f = handle handler (read . B.unpack <$> B.readFile f)
handler = const (return 0) :: SomeException -> IO Float
-