summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Config.hs')
-rw-r--r--src/lib/Config.hs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/Config.hs b/src/lib/Config.hs
index 8f05a88..59d9f3d 100644
--- a/src/lib/Config.hs
+++ b/src/lib/Config.hs
@@ -17,6 +17,7 @@ data Palette = Palette { pNormal :: String
, pBackground :: String
, pAlpha :: Int
, pIconRoot :: String
+ , pIsLight :: Bool
}
lightTheme :: IO Bool
@@ -32,19 +33,21 @@ lightPalette = Palette { pNormal = "black"
, pBackground = "white"
, pAlpha = 255
, pIconRoot = "/home/jao/.xmobar/icons/light"
+ , pIsLight = True
}
darkPalette :: Palette
-darkPalette = Palette { pNormal = "grey60"
- , pLow = "gray50"
+darkPalette = Palette { pNormal = "gray77"
+ , pLow = "gray60"
, pHigh = "#a0522d"
- , pFont = "xft:Source Code Pro Medium-10"
+ , pFont = "xft:Source Code Pro Medium-9"
-- , pFont = "xft:NotoMono-9,xft:Inconsolata-11"
, pBorder = "grey30"
- , pForeground = "grey60"
- , pBackground = "black"
- , pAlpha = 0
+ , pForeground = "grey77" -- "grey60"
+ , pBackground = "#2B2B2B" -- "black"
+ , pAlpha = 255
, pIconRoot = "/home/jao/.xmobar/icons/dark"
+ , pIsLight = False
}
palette :: IO Palette