From 12add1fd0c189fa4a2c31a4f03a209518a93663d Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sun, 7 Apr 2024 11:54:08 -0700 Subject: [PATCH] Set default font --- thoom-emacs/modules/thoom-theme.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/thoom-emacs/modules/thoom-theme.el b/thoom-emacs/modules/thoom-theme.el index 8989ca2..42dffed 100644 --- a/thoom-emacs/modules/thoom-theme.el +++ b/thoom-emacs/modules/thoom-theme.el @@ -18,6 +18,13 @@ (set-frame-parameter (selected-frame) 'alpha '(99 98)) (add-to-list 'default-frame-alist '(alpha 99 98)) +(setq thoom-font-candidates + '("FiraCode Nerd Font Mono" "Menlo")) +(defvar thoom-font + (seq-find #'x-list-fonts thoom-font-candidates) + "The default font to use.") +(add-to-list 'default-frame-alist `(font . ,thoom-font)) + ;; Hide clutter (setq inhibit-startup-message t use-dialog-box nil)