Save org-download images to an assets directory

This commit is contained in:
coolneng 2022-10-01 01:00:57 +02:00
parent ef04978af9
commit 15ebe5b28d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 3 deletions

View File

@ -116,10 +116,9 @@
(if (org-clocking-p)
(format "%s" (org-duration-from-minutes (org-clock-get-clocked-time)))
"")))
;; Save org-download images to ~/.cache
;; Save org-download images to an assets directory
(after! org-download
(setq org-download-image-dir "~/.cache/org-download"
org-attach-id-dir "~/.cache/org-attach"
(setq org-download-image-dir "assets/"
org-attach-auto-tag nil))
;; Show images by default with a limited width
(setq org-startup-with-inline-images t