diff options
Diffstat (limited to '.emacs.d/modules/thanos-books.el')
-rw-r--r-- | .emacs.d/modules/thanos-books.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.emacs.d/modules/thanos-books.el b/.emacs.d/modules/thanos-books.el index b34992e..0f17bce 100644 --- a/.emacs.d/modules/thanos-books.el +++ b/.emacs.d/modules/thanos-books.el @@ -37,11 +37,15 @@ (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) -(defun my-nov-font-setup () +(defun thanos/nov-font-setup () (face-remap-add-relative 'variable-pitch :family "Jetbrains Mono" - :height 100)) -(add-hook 'nov-mode-hook 'my-nov-font-setup) + (if is-hermes + :height 99 + :height 120)) + (beacon-mode -1)) + +(add-hook 'nov-mode-hook 'thanos/nov-font-setup) (provide 'thanos-books) |