From 840e5276aed1272bd566fbbd1db1d8f8800e5d5f Mon Sep 17 00:00:00 2001 From: noa Date: Sat, 8 Feb 2025 23:22:12 +0800 Subject: Use sans instead of serif variable font --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/init.el b/emacs/init.el index 8d61f0a..aa0e9ca 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -41,9 +41,10 @@ ;; Using a proportional font is the right way to do things, but emacs is very old and comes from a time before the innovation of legibility. As a result, there are some things that require a monospaced font, so i set one here. (custom-set-faces '(default ((t (:family "Noto Sans Mono" :height 120)))) - '(variable-pitch ((t (:family "Noto Serif" :height 120)))) + '(variable-pitch ((t (:family "Noto Sans" :height 120)))) '(fixed-pitch ((t (:family "Noto Sans Mono" :height 120)))) ) + (use-package face-remap :hook ((text-mode . variable-pitch-mode) -- cgit 1.4.1-2-gfad0