diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 07:34:43 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 07:34:43 +0200 |
commit | 7c0f602343e84823d370c8742716ce6b7a8b9850 (patch) | |
tree | 1eec8fe4cb291503ccb877745f8fc28a82d63679 /src | |
parent | e4314c03faa77d71ad69ec37b83e2634e1a2a9c9 (diff) | |
download | phi-7c0f602343e84823d370c8742716ce6b7a8b9850.tar phi-7c0f602343e84823d370c8742716ce6b7a8b9850.zip |
Handle X events asynchronously
Diffstat (limited to 'src')
-rw-r--r-- | src/Phi.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,8 +10,9 @@ import Data.Monoid main :: IO () main = do phi <- initPhi - initPhiX phi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelSize = 48 } + initPhiX phi defaultXConfig defaultPanelConfig { panelPosition = Bottom } [border border1 [border border3 [], border border3 []], border border2 []] + runPhi phi where border1 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2 border2 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.5, 0.0, 0.25, 0.5) 7 1 |