From 6b7a4965ea780552e62c79dc544dcbccf6a68161 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Mon, 31 Oct 2022 10:53:59 +0100 Subject: [PATCH] Update emacs fonts for windows --- doom/.config/doom/config.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index 17046cc..f83ad96 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -24,7 +24,11 @@ (cond ((eq system-type 'windows-nt) 28) (t 16))) -(setq my/font-mode 'caskaydia) +(setq + my/font-mode + (cond + ((string= (system-name) "PC673") 'cascadia) + (t 'caskaydia))) (defun my/adjust-fixed-pitch () (set-face-attribute 'fixed-pitch nil :height 1.0)) @@ -35,8 +39,8 @@ (defun my/cascadia-fonts () (setq doom-font (font-spec :family "Cascadia Code" :size 16 :weight 'regular) - doom-variable-pitch-font (font-spec :family "Fira Sans" :size 18) - doom-serif-font (font-spec :family "Meta Serif Pro" :size 16))) + doom-variable-pitch-font (font-spec :family "Recursive Sans Linear Static" :size 16) + doom-serif-font (font-spec :family "Recursive Mono Casual Static" :size 16))) (defun my/caskaydia-fonts () (setq -- 2.54.0