all repos — archive/dotfiles @ 081de5789032a4bfc5bc8c69504e6631eb870976

Superseded by nixfiles

Spaceline: auto-calculate a nice height
Alan Pearce alan@alanpearce.eu
Fri, 09 Feb 2018 12:45:29 +0100
commit

081de5789032a4bfc5bc8c69504e6631eb870976

parent

7dc6f86727bd6b5519a67c4cd565cd3fee7ed081

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -255,7 +255,8 @@ (use-package spaceline-config   :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