diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-08-21 08:40:08 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-08-21 08:40:08 +0200 |
commit | 022783f4a7fd5b85afa5eedffd8a2e6a07432e1d (patch) | |
tree | 6c42cfcc9747a4e748d4456bf8bd704f0e42d9d5 /src | |
parent | 028c4243a87e41e3b7e2c51eb752d4b089b30680 (diff) | |
download | phi-022783f4a7fd5b85afa5eedffd8a2e6a07432e1d.tar phi-022783f4a7fd5b85afa5eedffd8a2e6a07432e1d.zip |
Get rid of existential Widget type and Widget lists
Diffstat (limited to 'src')
-rw-r--r-- | src/Phi.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,8 +12,7 @@ import Phi.Widgets.Systray main :: IO () main = do - runPhi defaultXConfig defaultPanelConfig { panelPosition = Top } - [alphaBox 0.9 [theTaskbar, brightBorder [theSystray], brightBorder [theClock]]] + runPhi defaultXConfig defaultPanelConfig { panelPosition = Top } $ alphaBox 0.9 $ theTaskbar <~> brightBorder theSystray <~> brightBorder theClock where normalTaskBorder = BorderConfig (BorderWidth (-1) (-3) (-1) 7) 1 (BorderWidth 0 5 0 5) (0.9, 0.9, 0.9, 0.8) (0.45, 0.45, 0.45, 0.8) 5 0 activeTaskBorder = normalTaskBorder { borderColor = (1, 1, 1, 0.8) @@ -53,4 +52,5 @@ main = do , lineSpacing = (-3) , clockSize = 75 } + brightBorder :: (Widget w d) => w -> Border w d brightBorder = border normalDesktopBorder |