aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-02-03 16:27:48 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-02-03 16:27:48 -0700
commite563fb7dfe0c43cec679deaae82bc0a1e2aa056e (patch)
tree983982dc0c8ea32818ce3f62f72f8ef3ba215e1a
parent1b366226dea65301510bf5dceab0196d95b0d4dd (diff)
downloadrde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.tar.gz
rde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.tar.bz2
rde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.zip
Change some formatting around xmobar.
-rw-r--r--extras/HOME/.xmobarrc20
-rw-r--r--xmobar/extras/weather/src/Main.hs4
2 files changed, 12 insertions, 12 deletions
diff --git a/extras/HOME/.xmobarrc b/extras/HOME/.xmobarrc
index 36989d7..674adc6 100644
--- a/extras/HOME/.xmobarrc
+++ b/extras/HOME/.xmobarrc
@@ -1,15 +1,15 @@
Config
- { font = "Monofur Nerd Font 12",
+ { font = "Monofur Nerd Font 14",
additionalFonts =
- [ "Monofur NERD Font Bold 10",
- "Monofur NERD Font Bold 7",
- "Monofur NERD Font Bold 10", -- Media, Weather, etc.
- "Monofur NERD Font Bold 10",
- "Monofur NERD Font Bold 18",
+ [ "Monofur NERD Font Bold 12",
+ "Monofur NERD Font Bold 9",
+ "Monofur NERD Font Bold 12", -- Media, Weather, etc.
"Monofur NERD Font Bold 12",
- "Noto Sans Mono CJK JP Bold 12",
- "Monofur NERD Font Bold 12",
- "Monofur NERD Font Bold 3"
+ "Monofur NERD Font Bold 20",
+ "Monofur NERD Font Bold 14",
+ "Noto Sans Mono CJK JP Bold 14",
+ "Monofur NERD Font Bold 14",
+ "Monofur NERD Font Bold 5"
],
borderColor = "black",
border = FullBM -1,
@@ -17,7 +17,7 @@ Config
bgColor = "#000000",
fgColor = "white",
alpha = 255, -- default: 255
- position = TopSize C 99 40,
+ position = TopSize C 99 60,
textOffset = -1, -- default: -1
iconOffset = -1, -- default: -1
lowerOnStart = True,
diff --git a/xmobar/extras/weather/src/Main.hs b/xmobar/extras/weather/src/Main.hs
index ccabc21..aff669a 100644
--- a/xmobar/extras/weather/src/Main.hs
+++ b/xmobar/extras/weather/src/Main.hs
@@ -180,7 +180,7 @@ handleWeather w = execWriter $ do
tell " "
tell $ lightGrey $ fn 3 $ windspeedMiles (currentCondition w) ++ "mph"
- tell " "
+ tell " "
let conditions = if isNight then conditionsIconNight else conditionsIconDay
tell $
@@ -188,7 +188,7 @@ handleWeather w = execWriter $ do
fromMaybe "?" $
findMatch (map Data.Char.toLower $ weatherDesc (currentCondition w)) conditions
- tell " "
+ tell " "
tell $ lightGrey $ fn 3 $ printf "%s°F" (tempF $ currentCondition w)
where
isNight =