Add font in sway
This commit is contained in:
1 parent
bb0b18b4d1
commit
27d0dae22c
2 files changed
+5
-4
No files matched your search
@@ -226,13 +226,14 @@ Forgive me, but I'm =evil=.
|
||||
** Appearance
|
||||
*** Fonts
|
||||
I mainly use these fonts:
|
||||
+ =JuliaMono Medium= and =SFMono Nerd Font Mono= as main mono-spaced
|
||||
+ =SFMono Nerd Font Mono= as main mono-spaced
|
||||
+ =JuliaMono= for all other characters
|
||||
+ =Noto Emoji= to show emojis in emacs
|
||||
+ =Noto JP= for japanese characters
|
||||
#+begin_src emacs-lisp
|
||||
(set-face-attribute 'default nil :font "SFMono Nerd Font" :height 110 :weight 'medium)
|
||||
;; (set-face-attribute 'default nil :font "JuliaMono" :height 110 :weight 'medium)
|
||||
(set-fontset-font t 'unicode "JuliaMono" nil 'append)
|
||||
(set-fontset-font t 'unicode "JuliaMono" nil 'prepend)
|
||||
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
|
||||
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
|
||||
#+end_src
|
||||
|
||||
Reference in new issue
Block a user