mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Fixes org agenda following roam containers
This commit is contained in:
parent
b4a6a2099d
commit
d2fb3e1e5b
2 changed files with 7 additions and 2 deletions
|
@ -961,7 +961,9 @@ tasks."
|
|||
(interactive)
|
||||
(org-agenda-switch-to)
|
||||
(if (f-exists-p (concat (dir!) "/org-roam.db"))
|
||||
(org-roam-switch-db (f-filename (f-parent (dir!))) t))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (dir!))) t))
|
||||
(if (f-exists-p (concat (f-parent (dir!)) "/org-roam.db"))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (f-parent (dir!)))) t))
|
||||
(org-roam-olivetti-mode)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue