Update nov settings

This commit is contained in:
Marcus Kammer 2024-01-17 21:58:05 +01:00
parent 212da3999e
commit 50fd3bf77f
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -19,11 +19,13 @@
shrface-toggle-bullets t
shr-width nil))
(defun mk/nove-font-settings ()
(setq-local line-spacing 2)
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.1 :family "Bitter Pro"))
(use-package nov
:hook ((nov-mode . visual-line-mode)
(nov-mode . (lambda ()
(setq-local line-spacing 2)
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro"))))
(nov-mode . mk/nove-font-settings))
:mode ("\\.epub\\'" . nov-mode)
:init
(add-hook 'nov-mode-hook #'shrface-mode)