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
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue