diff options
author | noa | 2025-02-08 23:22:12 +0800 |
---|---|---|
committer | noa | 2025-02-08 23:22:12 +0800 |
commit | 840e5276aed1272bd566fbbd1db1d8f8800e5d5f (patch) | |
tree | 778c2955f5eb2a0c3393eb4057cd18dfc2ef99d7 /emacs | |
parent | 8d3824b552c817c314c084580121a7527be1f113 (diff) |
Use sans instead of serif variable font
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |