From 7560d79f35761657e359d3be6e0ea93094fc8fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 21 May 2021 21:01:53 +0200 Subject: read books --- config/doom/config.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'config/doom') diff --git a/config/doom/config.org b/config/doom/config.org index be7f74c..a2d5416 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -277,6 +277,21 @@ Emacs mode for managing ledger text files (newline) (insert " ; Invoice: " file-name)))) #+end_src +* Books +#+begin_src emacs-lisp :tangle "packages.el" +(package! nov) +(package! calibredb) +#+end_src +#+begin_src emacs-lisp +(use-package! nov + :mode (("\\.epub\\'" . nov-mode))) +(use-package! calibredb + :commands calibredb + :config + (set-evil-initial-state! 'calibredb-search-mode 'emacs) + (setq calibredb-root-dir "/media/backup/personal/Libros/CalibreManaged") + (setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))) +#+end_src * Programming languages ** Haskell #+begin_src emacs-lisp -- cgit v1.2.3