From 40da5f87008a8a1419f5f5a1f26badb4381d9bd8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 18 Feb 2024 07:17:42 +0000 Subject: [PATCH] Add org mobile config For syncing to phone via syncthing --- config/org-mode.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/config/org-mode.org b/config/org-mode.org index 7dce77d..fd4683b 100644 --- a/config/org-mode.org +++ b/config/org-mode.org @@ -60,6 +60,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]] "* TODO Read %:subject\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%a\n\n%i") )) #+end_src + * org-roam #+begin_src emacs-lisp (use-package org-roam @@ -114,6 +115,18 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (add-to-list 'org-refile-targets '(org-agenda-files :tag . "inbox") t) #+end_src +** Mobile agenda integration +Better syncing to mobile, for use with [[https://github.com/orgzly-revived/orgzly-android-revived][Orgzly]]. +#+begin_src emacs-lisp + (with-eval-after-load 'org + (setq org-mobile-directory "~/.orgmobile/" + org-mobile-agendas nil + org-mobile-files '(org-agenda-files) + org-mobile-inbox-for-pull (expand-file-name "from-mobile.org" org-directory) + org-mobile-force-id-on-agenda-items nil) + (add-hook 'org-capture-finalize-hook #'org-mobile-push)) +#+end_src + * org-alert #+begin_src emacs-lisp (use-package org-alert @@ -230,4 +243,3 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (setq org-latex-compiler "lualatex") (setq org-preview-latex-default-process 'dvisvgm) #+end_src -