diff options
Diffstat (limited to 'modules/weather-config.el')
| -rw-r--r-- | modules/weather-config.el | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el new file mode 100644 index 00000000..70fda92c --- /dev/null +++ b/modules/weather-config.el @@ -0,0 +1,37 @@ +;;; weather-config.el --- -*- lexical-binding: t; -*- + +;;; Commentary: +;; + +;;; Code: + +;; ----------------------------------- Wttrin ---------------------------------- +;; show the weather forecast in an Emacs buffer + +(use-package wttrin + :defer .5 + :load-path ("~/code/wttrin") + :ensure nil ;; local package + :preface + ;; dependency for wttrin + (use-package xterm-color + :demand t) + :bind + ("M-W" . wttrin) + :custom + (wttrin-unit-system "u") + :config + (setq wttrin-default-locations '( + "Athens, GR" + "Berkeley, CA" + "Bury St Edmunds, UK" + "Kyiv, UA" + "Littlestown, PA" + "London, GB" + "Naples, IT" + "New Orleans, LA" + "New York, NY" + ))) + +(provide 'weather-config) +;;; weather-config.el ends here. |
