summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11
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/X11
parentf60a105dbd866cb1ac23fb3277ff42f896c7f056 (diff)
downloadxmobar-0e7c39d9ec6719a32eec0b696d7167faf6598757.tar.gz
xmobar-0e7c39d9ec6719a32eec0b696d7167faf6598757.tar.bz2
Redundant imports (mostly <$>) removed
Diffstat (limited to 'src/Xmobar/X11')
-rw-r--r--src/Xmobar/X11/Draw.hs3
-rw-r--r--src/Xmobar/X11/Window.hs3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/Xmobar/X11/Draw.hs b/src/Xmobar/X11/Draw.hs
index b7f58ca..ab7c6df 100644
--- a/src/Xmobar/X11/Draw.hs
+++ b/src/Xmobar/X11/Draw.hs
@@ -3,7 +3,7 @@
------------------------------------------------------------------------------
-- |
-- Module: Xmobar.X11.Draw
--- Copyright: (c) 2018 Jose Antonio Ortega Ruiz
+-- Copyright: (c) 2018, 2020 Jose Antonio Ortega Ruiz
-- License: BSD3-style (see LICENSE)
--
-- Maintainer: jao@gnu.org
@@ -22,7 +22,6 @@ module Xmobar.X11.Draw (drawInWin) where
import Prelude hiding (lookup)
import Control.Monad.IO.Class
import Control.Monad.Reader
-import Control.Monad (when)
import Control.Arrow ((&&&))
import Data.Map hiding (foldr, map, filter)
import qualified Data.List.NonEmpty as NE
diff --git a/src/Xmobar/X11/Window.hs b/src/Xmobar/X11/Window.hs
index b8f56c6..8c3c698 100644
--- a/src/Xmobar/X11/Window.hs
+++ b/src/Xmobar/X11/Window.hs
@@ -1,7 +1,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Window
--- Copyright : (c) 2011-18 Jose A. Ortega Ruiz
+-- Copyright : (c) 2011-18, 20 Jose A. Ortega Ruiz
-- : (c) 2012 Jochen Keil
-- License : BSD-style (see LICENSE)
--
@@ -16,7 +16,6 @@
module Xmobar.X11.Window where
import Prelude
-import Control.Applicative ((<$>))
import Control.Monad (when, unless)
import Graphics.X11.Xlib hiding (textExtents)
import Graphics.X11.Xlib.Extras