aboutsummaryrefslogtreecommitdiff
path: root/early-substrate.el
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2025-02-11 22:32:24 +0000
committerGene Pasquet <dev@etenil.net>2025-02-11 22:32:24 +0000
commit3a7d14ff0088a912a8c0e4b844dc4e661ee97189 (patch)
treec6f373a4dea8a9d714507f136f3a234f673b7602 /early-substrate.el
parent48d65af9a5945b4532965270cb2e0cccd235b606 (diff)
Refactor the crap out of Bedrock
Diffstat (limited to 'early-substrate.el')
-rw-r--r--early-substrate.el33
1 files changed, 33 insertions, 0 deletions
diff --git a/early-substrate.el b/early-substrate.el
new file mode 100644
index 0000000..a4396c0
--- /dev/null
+++ b/early-substrate.el
@@ -0,0 +1,33 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;;
+;;; Basic settings for quick startup and convenience
+;;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;; Startup speed, annoyance suppression
+(setq byte-compile-warnings '(not obsolete))
+(setq warning-suppress-log-types '((comp) (bytecomp)))
+(setq native-comp-async-report-warnings-errors 'silent)
+
+;; Silence stupid startup message
+(setq inhibit-startup-echo-area-message (user-login-name))
+
+;; Default frame configuration: full screen, good-looking title bar on macOS
+(setq frame-resize-pixelwise t)
+(tool-bar-mode -1) ; All these tools are in the menu-bar anyway
+(menu-bar-mode -1)
+(scroll-bar-mode -1)
+(setq default-frame-alist '((fullscreen . maximized)
+
+ ;; You can turn off scroll bars by uncommenting these lines:
+ ;; (vertical-scroll-bars . nil)
+ ;; (horizontal-scroll-bars . nil)
+
+ ;; Setting the face in here prevents flashes of
+ ;; color as the theme gets activated
+ (background-color . "#000000")
+ (foreground-color . "#ffffff")
+ (ns-appearance . dark)
+ (ns-transparent-titlebar . t)))
+(provide 'early-substrate)
+;; End of early-substrate.el