summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/Parsers.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-04 00:07:54 +0000
committerjao <jao@gnu.org>2022-02-04 00:07:54 +0000
commit45fd6dc4dd71f752e25628d07a666aadc2e26e17 (patch)
treef79c0246be3822b73790748afa1ad1d172dab76a /src/Xmobar/X11/Parsers.hs
parent1e9b9e068844454335bc9d4728cf738eb2b3ceed (diff)
downloadxmobar-45fd6dc4dd71f752e25628d07a666aadc2e26e17.tar.gz
xmobar-45fd6dc4dd71f752e25628d07a666aadc2e26e17.tar.bz2
Xmobar.App.CommandThreads -> Xmobar.Run.Loop
Diffstat (limited to 'src/Xmobar/X11/Parsers.hs')
-rw-r--r--src/Xmobar/X11/Parsers.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Xmobar/X11/Parsers.hs b/src/Xmobar/X11/Parsers.hs
index 4688760..4a7e4eb 100644
--- a/src/Xmobar/X11/Parsers.hs
+++ b/src/Xmobar/X11/Parsers.hs
@@ -24,9 +24,6 @@ module Xmobar.X11.Parsers ( parseString
, TextRenderInfo(..)
, Widget(..)) where
-import Xmobar.Config.Types
-import Xmobar.Run.Actions
-
import Control.Monad (guard, mzero)
import Data.Maybe (fromMaybe)
import Data.Int (Int32)
@@ -34,6 +31,9 @@ import Text.ParserCombinators.Parsec
import Text.Read (readMaybe)
import Foreign.C.Types (CInt)
+import Xmobar.Config.Types
+import Xmobar.Run.Actions
+
data Widget = Icon String | Text String | Hspace Int32 deriving Show
data BoxOffset = BoxOffset Align Int32 deriving (Eq, Show)