This commit is contained in:
Zelong Kuang
2025-11-22 00:22:58 +11:00
parent c8c650ee5f
commit a38b0fb5f5
3 changed files with 21 additions and 7 deletions

View File

@@ -13,9 +13,16 @@
** Appearance settings
#+begin_src emacs-lisp
(setq doom-font (font-spec :family "Maple Mono" :size 20))
(add-to-list 'default-frame-alist '(height . 53))
(add-to-list 'default-frame-alist '(width . 120))
(pcase system-type
('darwin ; macOS
(setq doom-font (font-spec :family "Maple Mono" :size 20))
(add-to-list 'default-frame-alist '(height . 53))
(add-to-list 'default-frame-alist '(width . 120)))
('gnu/linux ; Linux (including Debian)
(setq doom-font (font-spec :family "Maple Mono" :size 40)) ; 20 * 1.5
(add-to-list 'default-frame-alist '(height . 45))
(add-to-list 'default-frame-alist '(width . 100))))
(setq catppuccin-flavor 'catppuccin)
(setq doom-theme 'modus-operandi-tinted)
(setq display-line-numbers-type 'relative)