From e7c13e125d267f2015a998c0d6bc0e916fdc1259 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 1 Oct 2022 01:00:57 +0200 Subject: [PATCH] Save org-download images to an assets directory --- +org.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/+org.el b/+org.el index 3284847..ef2bfe7 100644 --- a/+org.el +++ b/+org.el @@ -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