From d34556dca83f1e38c790ebc3f8135c2f5b2373ce Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sat, 8 Feb 2025 13:01:17 +1100
Subject: sideright: weather wind & rain tooltips

---
 src/modules/popdowns/sideright.tsx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'src/modules/popdowns/sideright.tsx')

diff --git a/src/modules/popdowns/sideright.tsx b/src/modules/popdowns/sideright.tsx
index d5ee9d5..ca3e51c 100644
--- a/src/modules/popdowns/sideright.tsx
+++ b/src/modules/popdowns/sideright.tsx
@@ -85,8 +85,16 @@ const Weather = () => {
                     <label label={bind(weather, "condition").as(c => ellipsize(c, 16))} />
                 </box>
                 <box vertical halign={Gtk.Align.END} valign={Gtk.Align.CENTER} className="other-data">
-                    <label xalign={0} label={bind(weather, "wind").as(w => ` ${w}`)} />
-                    <label xalign={0} label={bind(weather, "rainChance").as(r => ` ${r}`)} />
+                    <label
+                        xalign={0}
+                        label={bind(weather, "wind").as(w => ` ${w}`)}
+                        tooltipText={bind(weather, "wind").as(w => `${w} wind speed`)}
+                    />
+                    <label
+                        xalign={0}
+                        label={bind(weather, "rainChance").as(r => ` ${r}`)}
+                        tooltipText={bind(weather, "rainChance").as(r => `${r} chance of rain`)}
+                    />
                 </box>
             </centerbox>
             <box className="separator" />
-- 
cgit v1.2.3-freya

