summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.config/emacs-kj/init.el')
-rw-r--r--emacs/.config/emacs-kj/init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 8251fc3..aa9d09f 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -411,9 +411,13 @@
(org-mode . mixed-pitch-mode)
)
+(setq kj/font-height
+ (cond ((string= (system-name) "fedora") 100)
+ (t 150)))
+
(custom-set-faces
- `(variable-pitch ((t (:family "Noto Serif" :height 150))))
- `(default ((t (:family "Iosevka" :height 150)))))
+ `(variable-pitch ((t (:family "Noto Serif" :height ,kj/font-height))))
+ `(default ((t (:family "Iosevka" :height ,kj/font-height)))))
;; (unless (equal system-name "minideck")
;; (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 150)