modify Font size on linux

This commit is contained in:
Zelong Kuang
2025-12-04 23:01:56 +11:00
parent 8a509a080d
commit cbeec87665
2 changed files with 6 additions and 4 deletions

View File

@@ -11,9 +11,10 @@
(add-to-list 'default-frame-alist '(width . 120)))
('gnu/linux ; Linux (including Debian)
(setq doom-font (font-spec :family "Maple Mono" :size 30)) ; 20 * 1.5
(add-to-list 'default-frame-alist '(height . 45))
(setq doom-font (font-spec :family "Maple Mono" :size 24)) ; 20 * 1.5
(add-to-list 'default-frame-alist '(height . 40))
(add-to-list 'default-frame-alist '(width . 100))))
(setq catppuccin-flavor 'catppuccin)
(setq doom-theme 'modus-vivendi)
(setq display-line-numbers-type 'relative)

View File

@@ -20,9 +20,10 @@
(add-to-list 'default-frame-alist '(width . 120)))
('gnu/linux ; Linux (including Debian)
(setq doom-font (font-spec :family "Maple Mono" :size 30)) ; 20 * 1.5
(add-to-list 'default-frame-alist '(height . 45))
(setq doom-font (font-spec :family "Maple Mono" :size 24)) ; 20 * 1.5
(add-to-list 'default-frame-alist '(height . 40))
(add-to-list 'default-frame-alist '(width . 100))))
(setq catppuccin-flavor 'catppuccin)
(setq doom-theme 'modus-vivendi)
(setq display-line-numbers-type 'relative)