summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Monitors.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-25 22:08:48 +0000
committerjao <jao@gnu.org>2021-02-25 22:08:48 +0000
commite8f3969bd44ef71bf479693e32f07f356278c47c (patch)
tree1f0e4157f4b8eb8f1fca6c8b21478b7b86749fc3 /src/lib/Monitors.hs
parent4de0e15f9e7f1022afa8b74479ec66b867d50398 (diff)
downloadxmobar-config-e8f3969bd44ef71bf479693e32f07f356278c47c.tar.gz
xmobar-config-e8f3969bd44ef71bf479693e32f07f356278c47c.tar.bz2
weather and transparency
Diffstat (limited to 'src/lib/Monitors.hs')
-rw-r--r--src/lib/Monitors.hs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs
index adc0ae9..c96666c 100644
--- a/src/lib/Monitors.hs
+++ b/src/lib/Monitors.hs
@@ -76,7 +76,6 @@ dynNetwork p = DynNetwork (p <~> ["-t", fn 1 "↑ " ++ "<tx> " ++ fn 1 "↓" ++
uptime p = Uptime (p <~> [ "-t" , "<days> <hours>", "-m", "3", "-c", "0", "-S"
, "On" , "-L", "10", "-H", "100"]) 600
--- 🌧
weather' tmp st p =
WeatherX st
[ ("", fc (pDim p) $ fni "\xf185")
@@ -91,7 +90,13 @@ weather' tmp st p =
, ("overcast", fn 3 "☁")
, ("partly cloudy", fn 3 "⛅")
, ("mostly cloudy", fn 3 "☁")
- , ("considerable cloudiness", fn 4 "⛈")]
+ , ("considerable cloudiness", fn 4 "⛈")
+ , ("light rain", fn 4 "🌧")
+ , ("rain", fn 4 "⛆")
+ , ("ice crystals", fn 3 "❄")
+ , ("light snow", fn 3 "🌨")
+ , ("snow", fn 3 "❄")
+ ]
(mkArgs p ["-t", tmp , "-L","10", "-H", "25"] ["-w", ""])
18000