summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Config.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-10-14 00:48:46 +0100
committerjao <jao@gnu.org>2019-10-14 00:48:46 +0100
commit68f2f5fc251c611c3848c0810fd303e655860038 (patch)
treec63a507fadfd599b339c98b37aaabb64dea1ff61 /src/lib/Config.hs
parente0cb3b4e09b5367a1b330f1de508e0452ed60db8 (diff)
downloadxmobar-config-68f2f5fc251c611c3848c0810fd303e655860038.tar.gz
xmobar-config-68f2f5fc251c611c3848c0810fd303e655860038.tar.bz2
better dark colors
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