diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-08-30 12:12:43 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-08-30 12:12:43 +0100 |
commit | 4b475ca1abea3e7b81865c15a9da433fbc782c5d (patch) | |
tree | 93861c6776655ef4ac89a8f051692cfa4e856f8e | |
parent | 11318ee092f49ba69af91cdfbc4359d74b0cb0cb (diff) | |
download | dotfiles-4b475ca1abea3e7b81865c15a9da433fbc782c5d.tar.gz |
Move frame customisations to early-init.el
-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 |