diff options
author | Thanos Apollo <[email protected]> | 2023-09-03 22:35:25 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-03 22:45:40 +0300 |
commit | 2f01d0ac61be75229c07e8dbe4b59978d233ab06 (patch) | |
tree | 230d9857a7d341d094a4eb97e4b27ad3207ee970 /.emacs.d/modules/thanos-books.el | |
parent | 13809a4270a13ab87e0df8687458347c9d39e69f (diff) |
emacs: Reorganize modules, change theme to molokai
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) |