summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-10-17 22:26:11 +0200
committerAlan Pearce2018-10-17 22:26:11 +0200
commit388f6e97e15fcb54bf367e91176dd4be00552a20 (patch)
tree5454693fa2c7c2391dcc91abb2369c4aa36883f2 /emacs
parent98ecc4539aa1fbb7cd82401701c3ea82bc56ef79 (diff)
downloadnixfiles-388f6e97e15fcb54bf367e91176dd4be00552a20.tar.lz
nixfiles-388f6e97e15fcb54bf367e91176dd4be00552a20.tar.zst
nixfiles-388f6e97e15fcb54bf367e91176dd4be00552a20.zip
Emacs: Configure spaceline for normal Emacs
Diffstat (limited to 'emacs')
-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