summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-02-09 12:45:29 +0100
committerAlan Pearce2018-02-09 12:45:29 +0100
commit081de5789032a4bfc5bc8c69504e6631eb870976 (patch)
tree97ac362aab049ec234d6df9c734a64f061b68d3d /emacs
parent7dc6f86727bd6b5519a67c4cd565cd3fee7ed081 (diff)
downloaddotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.tar.lz
dotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.tar.zst
dotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.zip
Spaceline: auto-calculate a nice height
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index f27d590..aadb65b 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -255,7 +255,8 @@
   :after (eyebrowse projectile flycheck)
   :config (progn
             (setq powerline-default-separator 'bar
-                  powerline-height 24)
+                  powerline-height (* 2  (ceiling (* (default-font-height) (+ 1 (* 2 line-spacing))) 2))
+                  spaceline-responsive nil)
             (setq-default mode-line-format (spaceline-spacemacs-theme))))
 
 ;;;;; Chrome