Change references directory location

This commit is contained in:
Evie Litherland-Smith 2023-11-13 16:19:05 +00:00
parent 87bfdd4d63
commit 21aefb20a0
4 changed files with 11 additions and 15 deletions

View file

@ -107,10 +107,10 @@
repositories = with config.home; { repositories = with config.home; {
org = { org = {
path = "${homeDirectory}/Org"; path = "${homeDirectory}/Org";
uri = "git+https://git.xenia.me.uk/xenia/Org.git"; uri = "git+https://git.xenia.me.uk/xenia/org.git";
}; };
references = { references = {
path = "${homeDirectory}/.references"; path = "${homeDirectory}/References";
uri = "git+https://git.xenia.me.uk/xenia/references.git"; uri = "git+https://git.xenia.me.uk/xenia/references.git";
}; };
elfeed = { elfeed = {

View file

@ -335,12 +335,10 @@
"* TODO Read %:subject\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%a\n\n%i") "* TODO Read %:subject\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%a\n\n%i")
)) ))
(setq citar-bibliography '("~/.references/main.bib") (let ((citar-base-directory "~/References"))
citar-library-paths '("~/.references/library") (setq citar-bibliography (expand-file-name "main.bib" citar-base-directory)
citar-notes-paths '("~/.references/notes") citar-library-paths (list (expand-file-name "library" citar-base-directory))
citar-symbols '((file "F" . "󰂺") citar-notes-paths (list (expand-file-name "notes" citar-base-directory))))
(note "N" . "󰎞")
(link "L" . "󰌹")))
(use-package citar (use-package citar
:ensure t :ensure t

View file

@ -396,12 +396,10 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
** Citar ** Citar
#+begin_src emacs-lisp :results output silent #+begin_src emacs-lisp :results output silent
(setq citar-bibliography '("~/.references/main.bib") (let ((citar-base-directory "~/References"))
citar-library-paths '("~/.references/library") (setq citar-bibliography (expand-file-name "main.bib" citar-base-directory)
citar-notes-paths '("~/.references/notes") citar-library-paths (list (expand-file-name "library" citar-base-directory))
citar-symbols '((file "F" . "󰂺") citar-notes-paths (list (expand-file-name "notes" citar-base-directory))))
(note "N" . "󰎞")
(link "L" . "󰌹")))
(use-package citar (use-package citar
:ensure t :ensure t

View file

@ -56,7 +56,7 @@
ignored: [], // Ignore patterns specifically for this directory ignored: [], // Ignore patterns specifically for this directory
), ),
WatchDir( WatchDir(
path: "${homeDirectory}/.references", // The root folder to be indexed path: "${homeDirectory}/References", // The root folder to be indexed
recurse: true, // Recursively index and watch all subfolders recurse: true, // Recursively index and watch all subfolders
ignored: [], // Ignore patterns specifically for this directory ignored: [], // Ignore patterns specifically for this directory
), ),