refactor: moved org-agent to its own repository as a submodule
This commit is contained in:
39
projects/dotemacs/modules/emacs-media.org
Normal file
39
projects/dotemacs/modules/emacs-media.org
Normal file
@@ -0,0 +1,39 @@
|
||||
#+TITLE: Emacs Media and E-books Configuration
|
||||
#+property: header-args :tangle ~/.emacs.d/modules/media.el
|
||||
|
||||
* calibredb
|
||||
#+begin_src elisp
|
||||
(use-package calibredb
|
||||
:defer t
|
||||
:config
|
||||
(setq calibredb-format-all-the-icons t)
|
||||
(setq calibredb-format-icons-in-terminal t)
|
||||
)
|
||||
|
||||
(defvar calibredb-root-dir (concat (getenv "HOME") "/library/books"))
|
||||
(defvar calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))
|
||||
(defvar calibredb-id-width 6)
|
||||
(defvar calibredb-title-width 100)
|
||||
(defvar calibredb-author-width 20)
|
||||
#+end_src
|
||||
|
||||
* nov.el (EPUB Viewer)
|
||||
#+begin_src elisp
|
||||
(use-package nov
|
||||
:config
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||
)
|
||||
#+end_src
|
||||
|
||||
* org-noter and PDF Tools
|
||||
#+begin_src elisp
|
||||
(use-package org-noter)
|
||||
|
||||
(use-package org-noter-pdftools
|
||||
:after org-noter
|
||||
:config
|
||||
(with-eval-after-load 'pdf-annot
|
||||
(add-hook 'pdf-annot-activate-handler-functions #'org-noter-pdftools-jump-to-note)
|
||||
)
|
||||
)
|
||||
#+end_src
|
||||
Reference in New Issue
Block a user