From 61de602f92a99d9fad1ef0cc4022fcf1c1d09452 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 1 Jan 2021 00:00:35 +0000 Subject: [PATCH] Get rid of box around mode line --- config.org | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/config.org b/config.org index e125ad1..839e13b 100644 --- a/config.org +++ b/config.org @@ -104,18 +104,33 @@ #+end_src ** Colour Scheme - Currently using =spacemacs-theme='s light variant, but I prefer a pure - white background to the off-white it has by default. + Currently using =spacemacs-theme='s light variant. #+begin_src emacs-lisp (use-package spacemacs-theme :defer t) - (setq spacemacs-theme-custom-colors - '((bg1 . "#ffffff") - (comment-bg . "#ffffff"))) (load-theme 'spacemacs-light t) #+end_src + The first tweak I make is changing the borders around the mode line + to be two pixels thick and the same colour as the background (of + the active mode line that is). + + #+begin_src emacs-lisp + (set-face-attribute 'mode-line nil + :box '(:line-width 2 :color "#e7e5eb" :style nil)) + (set-face-attribute 'mode-line-inactive nil + :box '(:line-width 2 :color "#e7e5eb" :style nil)) + #+end_src + + I also set the right window divider to the same colour as the + header background. + + #+begin_src emacs-lisp + (set-face-attribute 'window-divider nil :foreground "#efeae9") + (setq initial-frame-alist '((right-divider-width . 1))) + #+end_src + * Autocompletion Enable =company-mode= globally, and hook it into =completion-at-point-functions=.