aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-05-21 21:01:53 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-05-29 20:15:27 +0200
commit7560d79f35761657e359d3be6e0ea93094fc8fcd (patch)
tree90ae8597d482fc369395e9ec2e3aa974192c8bc8 /config
parent10da69de1600c8cfd5e17e6d42e18dc2639bf0d8 (diff)
downloaddotfiles-7560d79f35761657e359d3be6e0ea93094fc8fcd.tar.gz
dotfiles-7560d79f35761657e359d3be6e0ea93094fc8fcd.tar.bz2
dotfiles-7560d79f35761657e359d3be6e0ea93094fc8fcd.zip
read books
Diffstat (limited to 'config')
-rw-r--r--config/doom/config.org15
1 files changed, 15 insertions, 0 deletions
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