diff options
author | Alan Pearce | 2018-02-09 12:45:29 +0100 |
---|---|---|
committer | Alan Pearce | 2018-02-09 12:45:29 +0100 |
commit | 081de5789032a4bfc5bc8c69504e6631eb870976 (patch) | |
tree | 97ac362aab049ec234d6df9c734a64f061b68d3d | |
parent | 7dc6f86727bd6b5519a67c4cd565cd3fee7ed081 (diff) | |
download | dotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.tar.lz dotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.tar.zst dotfiles-081de5789032a4bfc5bc8c69504e6631eb870976.zip |
Spaceline: auto-calculate a nice height
-rw-r--r-- | emacs/.emacs.d/main.el | 3 |
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 |