summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/lib/Xmobar.hs2
-rw-r--r--src/lib/Xmobar/Config.hs3
-rw-r--r--src/lib/Xmobar/Run/EventLoop.hs (renamed from src/lib/Xmobar/X11/EventLoop.hs)2
-rw-r--r--xmobar.cabal2
4 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/Xmobar.hs b/src/lib/Xmobar.hs
index f125a72..b4543f6 100644
--- a/src/lib/Xmobar.hs
+++ b/src/lib/Xmobar.hs
@@ -47,9 +47,9 @@ import Control.Exception (bracket)
import Xmobar.Config
import Xmobar.Run.Runnable
import Xmobar.Run.Template
+import Xmobar.Run.EventLoop (startLoop, startCommand)
import Xmobar.System.Signal (setupSignalHandler, withDeferSignals)
import Xmobar.X11.Types
-import Xmobar.X11.EventLoop (startLoop, startCommand)
import Xmobar.X11.XUtil
import Xmobar.X11.Window
import Xmobar.Plugins.BufferedPipeReader
diff --git a/src/lib/Xmobar/Config.hs b/src/lib/Xmobar/Config.hs
index c38bd6f..a07af9e 100644
--- a/src/lib/Xmobar/Config.hs
+++ b/src/lib/Xmobar/Config.hs
@@ -48,7 +48,8 @@ data Config =
, border :: Border -- ^ NoBorder TopB BottomB or FullB
, borderColor :: String -- ^ Border color
, borderWidth :: Int -- ^ Border width
- , alpha :: Int -- ^ Transparency from 0 (transparent) to 255 (opaque)
+ , alpha :: Int -- ^ Transparency from 0 (transparent)
+ -- to 255 (opaque)
, hideOnStart :: Bool -- ^ Hide (Unmap) the window on
-- initialization
, allDesktops :: Bool -- ^ Tell the WM to map to all desktops
diff --git a/src/lib/Xmobar/X11/EventLoop.hs b/src/lib/Xmobar/Run/EventLoop.hs
index f97c56b..a4385d1 100644
--- a/src/lib/Xmobar/X11/EventLoop.hs
+++ b/src/lib/Xmobar/Run/EventLoop.hs
@@ -17,7 +17,7 @@
------------------------------------------------------------------------------
-module Xmobar.X11.EventLoop (startLoop, startCommand) where
+module Xmobar.Run.EventLoop (startLoop, startCommand) where
import Prelude hiding (lookup)
import Graphics.X11.Xlib hiding (textExtents, textWidth)
diff --git a/xmobar.cabal b/xmobar.cabal
index ff167e4..aff3dcf 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -103,6 +103,7 @@ library
other-modules: Xmobar.Utils,
Xmobar.Run.Types,
Xmobar.Run.Template,
+ Xmobar.Run.EventLoop,
Xmobar.System.StatFS,
Xmobar.System.Environment,
Xmobar.System.Localize,
@@ -112,7 +113,6 @@ library
Xmobar.X11.Types,
Xmobar.X11.XUtil,
Xmobar.X11.Bitmap,
- Xmobar.X11.EventLoop,
Xmobar.X11.ColorCache,
Xmobar.X11.Window,
Xmobar.X11.Draw,