From f8a788fab350c7908fcbfcfb15f73db04936047d Mon Sep 17 00:00:00 2001 From: William Moore Date: Fri, 27 Dec 2024 03:51:35 -0600 Subject: [PATCH] Update to include note taking positions --- init.el | 2 ++ whomp/whomp-notes.el | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 whomp/whomp-notes.el diff --git a/init.el b/init.el index a4bca79..be1727c 100644 --- a/init.el +++ b/init.el @@ -74,6 +74,8 @@ (require 'whomp-orgmode) ;; readers configuration (require 'whomp-readers) +;; note taking configuration +(require 'whomp-notes) ;; dashboard (require 'whomp-dashboard) diff --git a/whomp/whomp-notes.el b/whomp/whomp-notes.el new file mode 100644 index 0000000..1229682 --- /dev/null +++ b/whomp/whomp-notes.el @@ -0,0 +1,28 @@ +;; +;; Note Taking Packages +;; These are the packages related to note taking +;; + +(defcustom whomp-notes nil + "Whether or not to enable note taking packages." + :type '(set (const :tag "HOWM" howm) ;; HOWM + ) + :group 'whomp-config) + +(when (memq 'howm whomp-notes) + (use-package howm + :straight t + :defer t) + ;; Directory configuration + (whomp/ensure-directory-exists "~/howm") + (setq howm-home-directory "~/howm/") + (setq howm-directory "~/howm/") + (setq howm-keyword-file (expand-file-name ".howm-keys" howm-home-directory)) + (setq howm-history-file (expand-file-name ".howm-history" howm-home-directory)) + (setq howm-file-name-format "%Y/%m/%Y%m%d%H%M%S.org") + + (message "HOWM loaded")) + +(message "W.H.O.M.P. Note Taking packages loaded") +(provide 'whomp-notes) +;; whomp-notes.el ends here