diff options
| author | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-10 18:33:19 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-10 18:33:19 +1000 |
| commit | 326c7996d27f9f5a61e787064c57716811fd83a4 (patch) | |
| tree | 3e65b74b3face53522bc42e3c405afb5e146ce5a /early-init.el | |
| parent | 4b2d5710d6d4439281333a5be11fc7bcd9d3359e (diff) | |
raw dogging it
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..af7274d --- /dev/null +++ b/early-init.el @@ -0,0 +1,17 @@ +;;; early-init.el --- minimal early startup config -*- lexical-binding: t; -*- + +;; Keep startup work cheap, then restore saner values from init.el. +(setq gc-cons-threshold most-positive-fixnum + gc-cons-percentage 0.6) + +;; Let init.el control package initialisation. +(setq package-enable-at-startup nil) + +;; Trim obvious GUI chrome early to reduce flicker. +(menu-bar-mode -1) +(tool-bar-mode -1) +(scroll-bar-mode -1) + +;; Conservative initial frame size. +(add-to-list 'default-frame-alist '(width . 140)) +(add-to-list 'default-frame-alist '(height . 42)) |
