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

@@ -4,9 +4,16 @@
;; ;; To disable collection of benchmark data after init is done.
;; (add-hook 'after-init-hook 'benchmark-init/deactivate))
(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))
(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)

View File

@@ -13,9 +13,16 @@
** Appearance settings
#+begin_src emacs-lisp
(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))
(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)

View File

@@ -151,7 +151,7 @@
(latex +cdlatex +lsp +fold) ; writing papers in Emacs has never been so fun
lean ; for folks with too much to prove
;;ledger ; be audit you can be
;; lua ; one-based indices? one-based indices
( lua +lsp +tree-sitter) ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"