Emacs: Fix per display size override not applying for initial frame

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-06-06 15:18:30 +02:00
parent 5bb65f325b
commit ea8876ce30
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -25,7 +25,7 @@ Adjust the font, based on the specific host.
("omen" ("omen"
(pcase mon (pcase mon
("DP-1-0.6" (set-face-attribute 'default frame :family magic_rb/fixed-width-font :slant 'normal :height 95)) ("DP-1-0.6" (set-face-attribute 'default frame :family magic_rb/fixed-width-font :slant 'normal :height 95))
("eDP-1" (set-face-attribute 'default frame :family magic_rb/fixed-width-font :slant 'normal :height 120))))) ((or "eDP-1" t) (set-face-attribute 'default frame :family magic_rb/fixed-width-font :slant 'normal :height 130)))))
(set-face-attribute 'fixed-pitch nil :family magic_rb/fixed-width-font :slant 'normal :height 1.0) (set-face-attribute 'fixed-pitch nil :family magic_rb/fixed-width-font :slant 'normal :height 1.0)
(set-face-attribute 'variable-pitch nil :family magic_rb/variable-pitch-font :height 1.0))) (set-face-attribute 'variable-pitch nil :family magic_rb/variable-pitch-font :height 1.0)))
:config :config