From 388f6e97e15fcb54bf367e91176dd4be00552a20 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Oct 2018 22:26:11 +0200 Subject: Emacs: Configure spaceline for normal Emacs --- emacs/.emacs.d/main.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 0803e3eb..fc3e32d4 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -251,8 +251,12 @@ (define-hook-helper after-setting-font () :name resize-powerline (setq powerline-height (* 2 (ceiling (* (default-font-height) (+ 1 (* 2 line-spacing))) 2))) + (if (not (daemonp)) + (setq mode-line-format (spaceline-spacemacs-theme))) (setq-default mode-line-format (spaceline-spacemacs-theme))) (setq spaceline-highlight-face-func #'spaceline-highlight-face-evil-state) + (if (not (daemonp)) + (setq mode-line-format (spaceline-spacemacs-theme))) (setq-default mode-line-format (spaceline-spacemacs-theme)))) ;;;;; Chrome -- cgit 1.4.1