Apply font settings to all frames

This commit is contained in:
Jens Luedicke
2025-09-08 15:31:08 +02:00
parent ae84dd699b
commit c2185ef827

View File

@@ -38,6 +38,7 @@
(window-divider-mode 1)
;;; Font Settings (preserved from custom-set-faces)
;; Apply font settings to all frames (current and future)
(set-face-attribute 'default nil
:family "0xProto Nerd Font Mono"
:foundry "nil"
@@ -46,6 +47,9 @@
:height 140
:width 'normal)
;; Ensure font settings apply to new frames
(add-to-list 'default-frame-alist '(font . "0xProto Nerd Font Mono-14"))
;;; Diff-hl face customizations
(with-eval-after-load 'diff-hl
(set-face-attribute 'diff-hl-change nil :background "blue3" :foreground "blue3")