aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/emacs.d/early-init.el
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2021-05-17 21:35:49 -0600
committerKenny Ballou <kb@devnulllabs.io>2021-05-21 11:54:42 -0600
commitc4bb2c95a45ea59185b01ca243bda3c7c4b19b85 (patch)
tree00d13c2bf0ae223e4e342580d04ae63294335e32 /config/emacs/emacs.d/early-init.el
parent732d09a99bd6e7b85d7bf789bc1701ace4cc2103 (diff)
downloaddotfiles-c4bb2c95a45ea59185b01ca243bda3c7c4b19b85.tar.gz
dotfiles-c4bb2c95a45ea59185b01ca243bda3c7c4b19b85.tar.xz
emacs/xresources: update/set emacs default font
Default to DejaVu Sans Mono. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/early-init.el')
-rw-r--r--config/emacs/emacs.d/early-init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/emacs/emacs.d/early-init.el b/config/emacs/emacs.d/early-init.el
index 4f4f5192..d370cd43 100644
--- a/config/emacs/emacs.d/early-init.el
+++ b/config/emacs/emacs.d/early-init.el
@@ -114,7 +114,13 @@ https://git.sr.ht/~vdemeester/home/tree/master/item/tools/emacs/early-init.el#L2
(add-hook 'contrib/after-load-theme-hook 'vde/modus-operandi-custom)
(kb/modus-operandi)
-(defconst font-height 130
+(set-face-attribute 'default nil
+ :family "DejaVu Sans Mono"
+ :height 110
+ :weight 'normal
+ :width 'normal)
+
+(defconst font-height 110
"Default font-height to use.")
(defconst font-family-mono "DejaVu Mono"
"Default monospace font-family to use.")