diff options
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el index e9d7de0..25bc58c 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -73,7 +73,8 @@ | |||
73 | (funcall (car mode) -1))))) | 73 | (funcall (car mode) -1))))) |
74 | 74 | ||
75 | (add-function :after after-focus-change-function | 75 | (add-function :after after-focus-change-function |
76 | (defun hook--setup-fonts () | 76 | (defun acdw/first-frame-setup () |
77 | ;; fonts | ||
77 | (require 'acdw-fonts) | 78 | (require 'acdw-fonts) |
78 | (setq acdw-fonts/monospace (pcase acdw/system | 79 | (setq acdw-fonts/monospace (pcase acdw/system |
79 | (:home "DejaVu Sans Mono") | 80 | (:home "DejaVu Sans Mono") |
@@ -90,6 +91,9 @@ | |||
90 | "Noto Color Emoji" | 91 | "Noto Color Emoji" |
91 | "Apple Color Emoji" | 92 | "Apple Color Emoji" |
92 | "Symbola") | 93 | "Symbola") |
94 | ;; fringes | ||
95 | (acdw/setup-fringes) | ||
96 | ;; only run this once | ||
93 | (remove-function after-focus-change-function | 97 | (remove-function after-focus-change-function |
94 | 'hook--setup-fonts))) | 98 | 'hook--setup-fonts))) |
95 | 99 | ||