diff --git a/config.el b/config.el index e85d24c..4aaed6b 100644 --- a/config.el +++ b/config.el @@ -4,9 +4,16 @@ ;; ;; To disable collection of benchmark data after init is done. ;; (add-hook 'after-init-hook 'benchmark-init/deactivate)) -(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) diff --git a/config.org b/config.org index 1c129bb..7ee684e 100644 --- a/config.org +++ b/config.org @@ -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) diff --git a/init.el b/init.el index 7a52fdc..0a74238 100644 --- a/init.el +++ b/init.el @@ -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!"