Put xkcd's cache in the .local/cache dir

This commit is contained in:
TEC 2021-01-14 23:46:11 +08:00
parent 262a605fb9
commit 444963b4d8
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 2 additions and 0 deletions

View File

@ -1982,6 +1982,8 @@ We want to set this up so it loads nicely in [[*Extra links][Extra links]].
+xkcd-find-and-copy +xkcd-find-and-view
+xkcd-fetch-info +xkcd-select)
:config
(setq xkcd-cache-dir (expand-file-name "xkcd/" doom-cache-dir)
xkcd-cache-latest (concat xkcd-cache-dir "latest"))
(after! evil-snipe
(add-to-list 'evil-snipe-disabled-modes 'xkcd-mode))
:general (:states 'normal