[Emacs] Better font configuration
This commit is contained in:
parent
bf9935d309
commit
f5a9608420
@ -383,8 +383,13 @@ don’t. I prefer [[https://github.com/microsoft/cascadia-code][Cascadia Code]],
|
|||||||
(defvar phundrak/default-font-size 90
|
(defvar phundrak/default-font-size 90
|
||||||
"Default font size.")
|
"Default font size.")
|
||||||
|
|
||||||
(when (equal system-type 'gnu/linux)
|
(defvar phundrak/default-font-name "Cascadia Code"
|
||||||
(set-face-attribute 'default nil :font "Cascadia Code" :height phundrak/default-font-size))
|
"Default font.")
|
||||||
|
|
||||||
|
(when (find-font (font-spec :name phundrak/default-font-name))
|
||||||
|
(set-face-attribute 'default nil
|
||||||
|
:font phundrak/default-font-name
|
||||||
|
:height phundrak/default-font-size))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Frame Title
|
*** Frame Title
|
||||||
|
Loading…
Reference in New Issue
Block a user