summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 4 insertions, 0 deletions
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