From a06b9178a27a6cf0524644822491f57398d92c2c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 28 Jun 2026 03:06:28 -0400 Subject: feat(weather): opt into wttrin auto-fit font scaling I set wttrin-auto-fit-font so the weather font scales to the window width, clamped to wttrin's min/max floor and cap. The option lands when the wttrin package gains the defcustom. Until then it's a harmless no-op the old code ignores, and the later defcustom won't clobber it. --- modules/weather-config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/weather-config.el b/modules/weather-config.el index 416db0323..d2912fedd 100644 --- a/modules/weather-config.el +++ b/modules/weather-config.el @@ -39,6 +39,12 @@ ;; colors) is unchanged. (setopt wttrin-display-options "F") (setopt wttrin-favorite-location "New Orleans, LA") + ;; Scale the weather font to fit the window width, clamped to a floor/cap + ;; (wttrin-font-height-min/-max, default 100/200). setq (not setopt): the + ;; wttrin-auto-fit-font defcustom only exists once feature/center-buffer-text + ;; merges to main and the :vc package updates; until then this just sets a + ;; value the old code ignores, and the later defcustom won't clobber it. + (setq wttrin-auto-fit-font t) ;; Higher-accuracy geolocation via the whereami WiFi-scan script (Google-backed), ;; far better than IP behind a VPN or cellular hotspot. Used by the picker's ;; "Current location (detect)" entry; wttrin falls back to its IP provider if the -- cgit v1.2.3