Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1016 Bytes

emacs-early-init.org

File metadata and controls

27 lines (23 loc) · 1016 Bytes

early-init

initialize basic some

(setq frame-inhibit-implied-resize t)
(setq use-file-dialog nil)

;; prevent glimpse of un-styled emacs
(push '(menu-bar-mode 0) default-frame-alist)
(push '(tool-bar-mode 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)

(set-background-color "black") ;; since dark mode theme is not set yet, do something close

(custom-set-variables
 '(initial-frame-alist (quote ((fullscreen . fullwidth)(height . 50)(top . 22)))))
(menu-bar-mode -1) ;; remove menu bar
(tool-bar-mode -1) ;; remove tool bar
(scroll-bar-mode -1) ;; remove scroll bar
;; (add-to-list 'default-frame-alist '(height . 70)) ;; resize to cover most of screen during exwm startup
;; (add-to-list 'default-frame-alist '(width . 800))