summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-07-07 12:38:24 +0100
committerMatthew Lemon <y@yulqen.org>2024-07-07 12:38:24 +0100
commit7639f27ba6ad73749e764ca688a072723213b32f (patch)
tree81ad8bb94e2f84251666360ae02a3cc3f9db5b79
parentca133147f6ca9263129278692723f18a87506716 (diff)
Correct way to set the font
-rw-r--r--init.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/init.el b/init.el
index 7d41183..f80cb82 100644
--- a/init.el
+++ b/init.el
@@ -232,9 +232,12 @@ Restart works only on graphic display."
;; (when (member "Hack" (font-family-list))
;; (add-to-list 'default-frame-alist '(font . "Hack-10"))))
-(set-face-attribute 'default nil
- :family "Iosevka Nerd Font"
- :height 140)
+(add-to-list 'default-frame-alist
+ '(font . "Iosevka Nerd Font-14"))
+
+;; (set-face-attribute 'default nil
+;; :family "Iosevka Nerd Font"
+;; :height 140)
;; org-caldav
(use-package org-caldav