aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-01 23:09:18 -0400
committerCraig Jennings <c@cjennings.net>2026-07-01 23:09:18 -0400
commit60560d1eb346c76de355a524e78ae389e8e07807 (patch)
tree797e7ec4b793f5579bf14cadb7f7ae1a8474c284 /modules
parentcf6dfae6ad311991ce0914370c04e60c284874b2 (diff)
downloaddotemacs-60560d1eb346c76de355a524e78ae389e8e07807.tar.gz
dotemacs-60560d1eb346c76de355a524e78ae389e8e07807.zip
feat(weather): show a three-day forecast in the mode-line tooltip
Sets wttrin-mode-line-tooltip-forecast-days to 3, the option added to wttrin in its 6c808ff (local checkout, release/0.4.0).
Diffstat (limited to 'modules')
-rw-r--r--modules/weather-config.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el
index 017d9e31..748b1af3 100644
--- a/modules/weather-config.el
+++ b/modules/weather-config.el
@@ -52,6 +52,9 @@
;; at :config time; the later defcustom won't clobber an already-set value.
(setq wttrin-geolocation-command "/home/cjennings/.local/bin/whereami --json")
(setopt wttrin-mode-line-refresh-interval (* 30 60)) ;; thirty minutes
+ ;; Tooltip forecast: remainder of today, tomorrow, and the next day (the
+ ;; j1 feed's maximum), rendered under the current conditions on hover.
+ (setopt wttrin-mode-line-tooltip-forecast-days 3)
(setq wttrin-default-locations '(
"New Orleans, LA"
"Berkeley, CA"