summaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
committerbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
commit891960df1400a9aa5f76fec502e52591e9350931 (patch)
tree5c832d9c3dfc0ab41290d7bdc4fceddcbf2bdd62 /early-init.el
parent096790cd907f4874e0e121c42b6b33a50e5105d2 (diff)
Added icons to Dired
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/early-init.el b/early-init.el
index c8b5b5f..6856ba8 100644
--- a/early-init.el
+++ b/early-init.el
@@ -7,6 +7,12 @@
;; Maximize GC threshold during startup (restored in init.el)
(setq gc-cons-threshold most-positive-fixnum)
+(add-hook 'emacs-startup-hook
+ (lambda ()
+ (setq gc-cons-threshold (* 16 1024 1024))))
+
+(setq native-comp-deferred-compilation t)
+
;; =====================================
;; 🎨 Terafox Theme
@@ -16,7 +22,6 @@
(add-to-list 'custom-theme-load-path (expand-file-name "themes" user-emacs-directory))
(load-theme 'terafox-emacs t)
-
;; =====================================
;; 🎨 UI Configuration (Pre-GUI Init)
;; =====================================
@@ -24,7 +29,7 @@
;; Configure frame appearance BEFORE GUI initializes
;; This prevents the white flash on startup
(setq default-frame-alist
- '((font . "JetBrainsMono Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight")
+ '((font . "JetBrainsMono Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight")
(background-color . "#003636") ;; Dark cyan background
(foreground-color . "#8affff") ;; Bright cyan text
(alpha-background . 75) ;; 75% opacity (GUI only)