From 15ebe5b28d83e9bd905035d17c4f4e6a226ddeb7 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