mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Optimize: Set height via font.
This commit is contained in:
parent
cbd86384fe
commit
7f95e8b8d8
1 changed files with 2 additions and 5 deletions
|
@ -81,11 +81,8 @@
|
|||
;; Variables
|
||||
;;
|
||||
|
||||
(defvar doom-modeline-height (pcase system-type
|
||||
('darwin 25)
|
||||
('gnu/linux 30)
|
||||
('windows-nt 40)
|
||||
(_ 26))
|
||||
(defvar doom-modeline-height (let ((font (face-font 'mode-line)))
|
||||
(if font (* 2 (aref (font-info font) 2)) 25))
|
||||
"How tall the mode-line should be (only respected in GUI Emacs).")
|
||||
|
||||
(defvar doom-modeline-bar-width 3
|
||||
|
|
Loading…
Reference in a new issue