summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-books.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/modules/thanos-books.el')
-rw-r--r--.emacs.d/modules/thanos-books.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/.emacs.d/modules/thanos-books.el b/.emacs.d/modules/thanos-books.el
index 0f17bce..f482b9e 100644
--- a/.emacs.d/modules/thanos-books.el
+++ b/.emacs.d/modules/thanos-books.el
@@ -38,12 +38,12 @@
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(defun thanos/nov-font-setup ()
- (face-remap-add-relative 'variable-pitch
- :family "Jetbrains Mono"
- (if is-hermes
- :height 99
- :height 120))
- (beacon-mode -1))
+ "Setup for nov."
+ (let ((font-size (if is-hermes 99 120)))
+ (face-remap-add-relative 'variable-pitch
+ :family "Jetbrains Mono"
+ :height font-size)
+ (beacon-mode -1)))
(add-hook 'nov-mode-hook 'thanos/nov-font-setup)