aboutsummaryrefslogtreecommitdiff
path: root/modules/weather-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-26 00:04:15 -0400
committerCraig Jennings <c@cjennings.net>2026-06-26 00:04:15 -0400
commit6a9ec62ec621e982a7122425b92b874c9fea2587 (patch)
tree6ced45113b2aad1f8683675dbb49c6122d219e8e /modules/weather-config.el
parent0d5787978579980f214e4fc822c2e73fd56fa92f (diff)
downloaddotemacs-6a9ec62ec621e982a7122425b92b874c9fea2587.tar.gz
dotemacs-6a9ec62ec621e982a7122425b92b874c9fea2587.zip
refactor(term): retire ghostel, migrate copy-mode and tmux-history to eat-config
Complete the EAT consolidation by removing ghostel. ai-term and F12 already run on EAT, so ghostel's only remaining users were the dashboard launcher and term-config itself. Migrate the terminal-generic pieces into eat-config: the tmux copy-mode (C-<up> enters it, the same UX and keybinding as before, since agents run EAT over tmux) and the tmux-history capture, swapping ghostel-send-string for a pty write and the mode checks to eat-mode. Repoint the dashboard "Launch Terminal" to the eshell/EAT toggle, swap the face-diagnostic terminal-mode check to eat-mode, and refresh auto-dim's comment. Delete term-config.el and its init require. EAT's default semi-char non-bound-keys already lets windmove, buffer-move, and the Emacs essentials reach the terminal. Tests retargeted; the obsolete ghostel-keymap-exceptions tests are dropped.
Diffstat (limited to 'modules/weather-config.el')
-rw-r--r--modules/weather-config.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el
index 93b0a6148..04531350f 100644
--- a/modules/weather-config.el
+++ b/modules/weather-config.el
@@ -32,7 +32,18 @@
("M-S-w" . wttrin) ;; was M-W, overrides kill-ring-save
:config
(setopt wttrin-unit-system "u")
+ ;; Drop the "Follow @igor_chubin for wttr.in updates" footer. "F" is the
+ ;; wttr.in flag for "no Follow line"; everything else (forecast, header,
+ ;; colors) is unchanged.
+ (setopt wttrin-display-options "F")
(setopt wttrin-favorite-location "New Orleans, LA")
+ ;; 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
+ ;; command is missing or fails. setq (not setopt): wttrin-geolocation-command is
+ ;; defined in the lazily-loaded wttrin-geolocation sub-module, so it may be unbound
+ ;; 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
(setq wttrin-default-locations '(
"New Orleans, LA"