Update nov settings
This commit is contained in:
parent
212da3999e
commit
50fd3bf77f
1 changed files with 5 additions and 3 deletions
|
@ -19,11 +19,13 @@
|
||||||
shrface-toggle-bullets t
|
shrface-toggle-bullets t
|
||||||
shr-width nil))
|
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
|
(use-package nov
|
||||||
:hook ((nov-mode . visual-line-mode)
|
:hook ((nov-mode . visual-line-mode)
|
||||||
(nov-mode . (lambda ()
|
(nov-mode . mk/nove-font-settings))
|
||||||
(setq-local line-spacing 2)
|
|
||||||
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro"))))
|
|
||||||
:mode ("\\.epub\\'" . nov-mode)
|
:mode ("\\.epub\\'" . nov-mode)
|
||||||
:init
|
:init
|
||||||
(add-hook 'nov-mode-hook #'shrface-mode)
|
(add-hook 'nov-mode-hook #'shrface-mode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue