aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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 748b1af3..84920776 100644
--- a/modules/weather-config.el
+++ b/modules/weather-config.el
@@ -36,6 +36,9 @@
("M-S-w" . wttrin) ;; was M-W, overrides kill-ring-save
:config
(setopt wttrin-unit-system "u")
+ ;; Keep runtime state in data/ with the other per-machine state files;
+ ;; the default (locate-user-emacs-file) drops it at the repo root.
+ (setopt wttrin-state-file (expand-file-name "data/wttrin-state.el" user-emacs-directory))
;; 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.