From 2f01d0ac61be75229c07e8dbe4b59978d233ab06 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 3 Sep 2023 22:35:25 +0300 Subject: emacs: Reorganize modules, change theme to molokai --- .emacs.d/modules/thanos-books.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.emacs.d/modules/thanos-books.el') 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) -- cgit v1.2.3