summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 06:16:04 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 06:16:04 +0200
commite4314c03faa77d71ad69ec37b83e2634e1a2a9c9 (patch)
tree8978ab9aca61cc8160156404168322113a24dadd /src
parentd519f6781677aae2217aa895b25cbff61e1d0dbb (diff)
downloadphi-e4314c03faa77d71ad69ec37b83e2634e1a2a9c9.tar
phi-e4314c03faa77d71ad69ec37b83e2634e1a2a9c9.zip
Some more restructuring, WIP
Diffstat (limited to 'src')
-rw-r--r--src/Phi.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Phi.hs b/src/Phi.hs
index cea4ecf..43ceebc 100644
--- a/src/Phi.hs
+++ b/src/Phi.hs
@@ -1,3 +1,4 @@
+import Phi.Phi
import Phi.Types
import Phi.Widget
import Phi.Panel
@@ -8,7 +9,8 @@ import Data.Monoid
main :: IO ()
main = do
- initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom}
+ phi <- initPhi
+ initPhiX phi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelSize = 48 }
[border border1 [border border3 [], border border3 []], border border2 []]
where
border1 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2