From 2264fa4e57ec8938c05837f90c46a9196345513b Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 14 Aug 2023 18:32:12 -0400 Subject: Fedora config --- emacs/.config/emacs-kj/init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'emacs/.config') 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) -- cgit v1.2.3