summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 01:47:10 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 01:47:10 +0200
commit222ba3fe0be82341d6cf31de2f9d3387869f1b1a (patch)
tree8b28648ef8c1aa4d2b832905139daf325efc44b4 /src
parent55d15b73caa4b8d74cf7d678842da69302e600d9 (diff)
downloadphi-222ba3fe0be82341d6cf31de2f9d3387869f1b1a.tar
phi-222ba3fe0be82341d6cf31de2f9d3387869f1b1a.zip
Added widget layout functions
Diffstat (limited to 'src')
-rw-r--r--src/Phi.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Phi.hs b/src/Phi.hs
index 73beba8..2128d38 100644
--- a/src/Phi.hs
+++ b/src/Phi.hs
@@ -1,4 +1,5 @@
import Phi.Types
+import Phi.Widget
import Phi.Panel
import Phi.Border
import Phi.X11
@@ -8,4 +9,7 @@ import Data.Monoid
main :: IO ()
main = do
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 []]
+ [border1, border2]
+ where
+ border1 = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2 []
+ border2 = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.5, 0.0, 0.25, 0.5) 7 1 []