blob: 0c4ad0cb0d68e5e187e8ea3bfd792de79d0009fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
;;; weather-config.el --- -*- lexical-binding: t; -*-
;; author: Craig Jennings <c@cjennings.net>
;;; 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.
|