Make Emacs default font platform-aware (Linux/WSL) and drop Claude CLI agent files

This commit is contained in:
Fabio Scotto di Santolo
2026-08-27 17:49:07 +02:00
parent 6ba0040192
commit 304479a3f9
3 changed files with 9 additions and 91 deletions

View File

@@ -7,8 +7,15 @@
:config
(load-theme 'nordic-night t))
(set-frame-font "UbuntuSansMono Nerd Font 14" nil t)
(add-to-list 'default-frame-alist '(font . "UbuntuSansMono Nerd Font-14"))
(defconst fscotto/default-font
(pcase system-type
('gnu/linux "UbuntuSansMono Nerd Font 14")
('windows-nt "JetBrainsMono NF 12")
(_ "monospace 14"))
"Default font for graphical Emacs frames on the current platform.")
(set-frame-font fscotto/default-font nil t)
(add-to-list 'default-frame-alist `(font . ,fscotto/default-font))
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(tool-bar-mode -1)