emacs: set font for all frames, not just for new ones (#656)
The existing solution does not work on macOS for some reason. Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
dd6605be79
commit
bc25f3d69d
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ in
|
|||
(setq base16-theme-256-color-source 'colors)
|
||||
(load-theme 'base16-stylix t)
|
||||
;; Set font
|
||||
(set-face-attribute 'default t :font (font-spec :family "${monospace.name}" :size ${emacsSize}))
|
||||
(set-face-attribute 'default nil :font (font-spec :family "${monospace.name}" :size ${emacsSize}))
|
||||
;; -----------------------------
|
||||
;; set opacity
|
||||
(add-to-list 'default-frame-alist '(alpha-background . ${emacsOpacity}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue