summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Monitors.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-13 05:43:40 +0100
committerjao <jao@gnu.org>2022-08-13 05:43:40 +0100
commitc94a9349d25394726456efc8b1dbcca8385b1b77 (patch)
tree92cea02c42af9a27f9bebec0bc26e2c793cabf7a /src/lib/Monitors.hs
parentec1c7a9a32f19fe83e6e05ddf93f130313a2dd49 (diff)
downloadxmobar-config-c94a9349d25394726456efc8b1dbcca8385b1b77.tar.gz
xmobar-config-c94a9349d25394726456efc8b1dbcca8385b1b77.tar.bz2
xmobar-single: tidy-ups galore
Diffstat (limited to 'src/lib/Monitors.hs')
-rw-r--r--src/lib/Monitors.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs
index 3cede52..f09631b 100644
--- a/src/lib/Monitors.hs
+++ b/src/lib/Monitors.hs
@@ -102,13 +102,14 @@ weather' tmp st p =
, ("considerable cloudiness", fn 4 "⛈")
, ("light rain", fn 4 "🌧")
, ("rain", fn 4 "⛆")
- , ("ice crystals", fn 3 "❄")
+ , ("ice crystals", snow)
, ("light snow", fn 3 "🌨")
- , ("snow", fn 3 "❄")
+ , ("snow", snow)
]
(mkArgs p ["-t", tmp , "-L","10", "-H", "25" , "-T", "25", "-E", ".."]
["-w", ""])
18000
+ where snow = fni "\xf2dc"
weather = weather' "<skyConditionS> <tempC>° <rh>% <windKmh> (<hour>)"