summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 03:08:40 +0000
committerjao <jao@gnu.org>2018-11-25 03:08:40 +0000
commit658dd00771852286bb9ce007d11db869c237d934 (patch)
tree42884b7028392fdd68b550e89cee33c2687e8eed /src/lib/Xmobar.hs
parent071794d33443ff76d85be035394103fc8bf48e98 (diff)
downloadxmobar-658dd00771852286bb9ce007d11db869c237d934.tar.gz
xmobar-658dd00771852286bb9ce007d11db869c237d934.tar.bz2
Refactoring: Xmobar.X11
Diffstat (limited to 'src/lib/Xmobar.hs')
-rw-r--r--src/lib/Xmobar.hs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/Xmobar.hs b/src/lib/Xmobar.hs
index 547c549..2b160a1 100644
--- a/src/lib/Xmobar.hs
+++ b/src/lib/Xmobar.hs
@@ -17,10 +17,6 @@
module Xmobar (xmobar, Runnable (..), module Xmobar.Config) where
-import Xmobar.EventLoop (startLoop, startCommand)
-import Xmobar.Config
-import Xmobar.Runnable
-
import Data.Foldable (for_)
import qualified Data.Map as Map
@@ -28,11 +24,14 @@ import Graphics.X11.Xlib
import Control.Concurrent.Async (Async, cancel)
import Control.Exception (bracket)
+import Xmobar.Config
+import Xmobar.Runnable
import Xmobar.Parsers
-import Xmobar.XUtil
import Xmobar.Signal (setupSignalHandler, withDeferSignals)
-import Xmobar.Window
-import Xmobar.Types
+import Xmobar.X11.Types
+import Xmobar.X11.EventLoop (startLoop, startCommand)
+import Xmobar.X11.XUtil
+import Xmobar.X11.Window
splitTemplate :: Config -> [String]
splitTemplate conf =