Editing fonts for emacs-wayland in Niri.

This commit is contained in:
Derek Taylor
2026-01-16 20:31:09 -06:00
parent de844c811e
commit 369a705f4d
2 changed files with 6 additions and 6 deletions

View File

@@ -207,15 +207,15 @@
(set-face-attribute 'default nil
:font "JetBrains Mono"
:height 110
:weight 'medium)
:weight 'regular)
(set-face-attribute 'variable-pitch nil
:font "Ubuntu"
:height 120
:weight 'medium)
:weight 'regular)
(set-face-attribute 'fixed-pitch nil
:font "JetBrains Mono"
:height 110
:weight 'medium)
:weight 'regular)
;; Makes commented text and keywords italics.
;; This is working in emacsclient but not emacs.
;; Your font must have an italic face available.

View File

@@ -356,15 +356,15 @@ Defining the various fonts that Emacs will use.
(set-face-attribute 'default nil
:font "JetBrains Mono"
:height 110
:weight 'medium)
:weight 'regular)
(set-face-attribute 'variable-pitch nil
:font "Ubuntu"
:height 120
:weight 'medium)
:weight 'regular)
(set-face-attribute 'fixed-pitch nil
:font "JetBrains Mono"
:height 110
:weight 'medium)
:weight 'regular)
;; Makes commented text and keywords italics.
;; This is working in emacsclient but not emacs.
;; Your font must have an italic face available.