From fe63a39e8150454f917dcda1053a1ad55b5f87dd Mon Sep 17 00:00:00 2001 From: Marcus Kammer <2262664-marcuskammer@users.noreply.gitlab.com> Date: Mon, 18 Jan 2021 09:05:57 +0100 Subject: [PATCH] Open initial frame as fullscreen and dont hook olivetti mode by nov --- bundle/bundle--defaults.el | 7 +++++-- bundle/bundle--package.el | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bundle/bundle--defaults.el b/bundle/bundle--defaults.el index 92c92fdc..46717ede 100644 --- a/bundle/bundle--defaults.el +++ b/bundle/bundle--defaults.el @@ -63,12 +63,15 @@ (defalias 'yes-or-no-p 'y-or-n-p) ;; Windows, Frames +;; Windows, Frames +(setq initial-frame-alist + '((fullscreen . fullscreen))) + (setq default-frame-alist '((font . "Fira Code-11") (alpha . 100) (width . 94) - (height . 70) - (fullscreen . maximized))) + (height . 70))) ;; Mode line (setq-default mode-line-format diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index ff9b854f..0a002bb4 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -39,7 +39,8 @@ There are two things you can do about this warning: (use-package nov :config (setq nov-text-width nil nov-variable-pitch nil) - :hook (nov-mode . olivetti-mode)) + ;;:hook (nov-mode . olivetti-mode)) + ) (use-package projectile :init