From 55d15b73caa4b8d74cf7d678842da69302e600d9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 14 Jul 2011 00:09:20 +0200 Subject: Restructured widget state --- src/Phi.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Phi.hs b/src/Phi.hs index a3d4762..73beba8 100644 --- a/src/Phi.hs +++ b/src/Phi.hs @@ -1,3 +1,4 @@ +import Phi.Types import Phi.Panel import Phi.Border import Phi.X11 @@ -6,5 +7,5 @@ import Data.Monoid main :: IO () main = do - initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelContent = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 1 mempty } - --initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelContent = border (simpleBorderWidth 0) 0 (simpleBorderWidth 2) (1, 1, 1, 1) (0.75, 0.75, 0.75, 1) 0 1 mempty } + initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom} + [border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 1 []] -- cgit v1.2.3