diff --git a/config.el b/config.el index f16646d..689feb6 100644 --- a/config.el +++ b/config.el @@ -78,7 +78,7 @@ ;; MY CONFIG (add-hook 'org-mode-hook #'auto-fill-mode) - +(add-hook 'org-mode-hook 'org-toggle-inline-images) ;;(eval-after-load "tex" ;; '(add-to-list 'TeX-command-list ;; '("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber"))) @@ -115,3 +115,8 @@ (setq org-journal-dir "~/Nextcloud/org/journal") (setq org-journal-file-format "%Y_%m_%d.org") ) + +(after! org-download + (setq-default org-download-image-dir "~/Nextcloud/org/img") + (add-hook 'dired-mode-hook 'org-download-enable) +) diff --git a/custom.el b/custom.el index 9da4df0..4278e4b 100644 --- a/custom.el +++ b/custom.el @@ -6,7 +6,7 @@ '(custom-safe-themes '("4594d6b9753691142f02e67b8eb0fda7d12f6cc9f1299a49b819312d6addad1d" "2b501400e19b1dd09d8b3708cefcb5227fda580754051a24e8abf3aff0601f87" "2721b06afaf1769ef63f942bf3e977f208f517b187f2526f0e57c1bd4a000350" "4ade6b630ba8cbab10703b27fd05bb43aaf8a3e5ba8c2dc1ea4a2de5f8d45882" "d481904809c509641a1a1f1b1eb80b94c58c210145effc2631c1a7f2e4a2fdf4" "014cb63097fc7dbda3edf53eb09802237961cbb4c9e9abd705f23b86511b0a69" default)) '(org-agenda-files '("~/Nextcloud/org/main.org" "/home/cat/org/notes.org")) - '(package-selected-packages '(org-journal))) + '(package-selected-packages '(org-download org-journal))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/packages.el b/packages.el index 884537d..f5bf13c 100644 --- a/packages.el +++ b/packages.el @@ -50,3 +50,4 @@ (package! emmet-mode) (package! org-journal) +(package! org-download)