fix(wpcarro/emacs): Temporarily prefer Monospace to JetBrainsMono
When I migrated to /depot I removed JetBrainsMono from my monorepo. This is fine on NixOS machines because I'm depending on JetBrainsMono through Nix configuration. But for non-NixOS machines (my work machines), I cannot do this. Until I've thought of how I'd like to support this, I'm doing to use Monospace, which should be available on all of my machines. Change-Id: Icd0cd641526246d40b8d971907c63c7f32ef1c3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4821 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
7c558f7c53
commit
9e22c512b5
1 changed files with 10 additions and 10 deletions
|
@ -162,16 +162,16 @@
|
||||||
;; during initialization?
|
;; during initialization?
|
||||||
(when (device-laptop?) (laptop-battery-display))
|
(when (device-laptop?) (laptop-battery-display))
|
||||||
|
|
||||||
(if window-system
|
|
||||||
(progn
|
|
||||||
(fonts-whitelist-set "JetBrainsMono")
|
|
||||||
(colorscheme-whitelist-set 'doom-one-light)
|
(colorscheme-whitelist-set 'doom-one-light)
|
||||||
;; the doom-acario-dark theme uses "Monospace Serif" as the font for
|
|
||||||
;; comments, and I'd prefer JetBrainsMono (no italics).
|
(when window-system
|
||||||
|
(let ((font "Monospace"))
|
||||||
|
(fonts-whitelist-set font)
|
||||||
|
;; Some themes (e.g. doom-acario-*) change the font for comments. This
|
||||||
|
;; should prevent that.
|
||||||
(set-face-attribute font-lock-comment-face nil
|
(set-face-attribute font-lock-comment-face nil
|
||||||
:family "JetBrainsMono"
|
:family font
|
||||||
:slant 'normal))
|
:slant 'normal)))
|
||||||
(load-theme 'wombat))
|
|
||||||
|
|
||||||
(modeline-setup)
|
(modeline-setup)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue