diff --git a/oni-org-roam.el b/oni-org-roam.el index 113d686..d3cc1b5 100644 --- a/oni-org-roam.el +++ b/oni-org-roam.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.0921.234248 +;; Version: 2022.1122.231427 ;; Package-Requires: (oni-org org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -66,6 +66,13 @@ (and (not (null state)) (not (string= state "FINISHED"))))) +(add-to-list 'display-buffer-alist + `(,(rx string-start "*org-roam*" string-end) + display-buffer-in-side-window + (side . right) + (slot . 0) + (window-width . 66))) + (add-hook 'window-state-change-hook #'oni-org-roam-auto-toggle-roam-buffer) (advice-add 'org-agenda :before #'oni-org-roam-update-todo-files)