From 081de5789032a4bfc5bc8c69504e6631eb870976 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 9 Feb 2018 12:45:29 +0100 Subject: Spaceline: auto-calculate a nice height --- emacs/.emacs.d/main.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') 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 -- cgit 1.4.1