From a7dda5edb77354b91c0a770a086d9864b3f9fadc Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 19 Dec 2018 17:00:36 +0800 Subject: [PATCH] Optimize: different mode-line height in different platforms. --- doom-modeline.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 45064e4..93f316f 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -80,7 +80,11 @@ ;; Variables ;; -(defvar doom-modeline-height 25 +(defvar doom-modeline-height (pcase system-type + ('darwin 25) + ('gnu/linux 30) + ('windows-nt 40) + (_ 26)) "How tall the mode-line should be (only respected in GUI Emacs).") (defvar doom-modeline-bar-width 3