diff options
-rw-r--r-- | .emacs.d/early-init.el | 5 | ||||
-rw-r--r-- | .emacs.d/lisp/init-ui.el | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index c435c27..8bdcc72 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -15,6 +15,9 @@ (setq frame-inhibit-implied-resize t) +(toggle-frame-maximized) +(add-to-list 'default-frame-alist '(fullscreen . maximized)) + (menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) @@ -22,8 +25,6 @@ (setq package-enable-at-startup nil) -; (setq comp-deferred-compilation nil) - ;; Some optimizations from doom.el (some of these probably don't belong here!) (setq auto-mode-case-fold nil) (setq-default bidi-display-reordering 'left-to-right diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el index 327d09a..393689b 100644 --- a/.emacs.d/lisp/init-ui.el +++ b/.emacs.d/lisp/init-ui.el @@ -1,13 +1,11 @@ ;;; init-ui.el --- UI Configuration File -*- lexical-binding: t -*- ;;; Commentary: ;; Some parts copied from prelude-ui.el and prelude-editor.el -;; {menu,tool,scoll}-bar-mode disabled in early-init.el, rather than here +;; Frame customisations, and disabling of {menu,tool,scoll}-bar-mode done in early-init.el, rather than here ;;; Code: (use-package emacs :config - (toggle-frame-maximized) - (add-to-list 'default-frame-alist '(fullscreen . maximized)) (set-face-attribute 'default nil :font "iosevka comfy") ;; https://github.com/rougier/elegant-emacs/blob/master/sanity.el |