diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-08 13:01:17 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-08 13:01:17 +1100 |
| commit | d34556dca83f1e38c790ebc3f8135c2f5b2373ce (patch) | |
| tree | f15ec4457c4834216caaacd4c5736fb255643a37 | |
| parent | popdowns: some minor header button changes (diff) | |
| download | caelestia-shell-d34556dca83f1e38c790ebc3f8135c2f5b2373ce.tar.gz caelestia-shell-d34556dca83f1e38c790ebc3f8135c2f5b2373ce.tar.bz2 caelestia-shell-d34556dca83f1e38c790ebc3f8135c2f5b2373ce.zip | |
sideright: weather wind & rain tooltips
| -rw-r--r-- | src/modules/popdowns/sideright.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
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" /> |