diff options
author | fpi | 2021-02-23 10:25:55 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:37:58 +0100 |
commit | 831cd793e0bca9b2d1008ccb8ecbe1396a2cce0d (patch) | |
tree | 97203cf1a991c9c7dda0a499c1801eb0725c16eb | |
parent | Update sauron config (diff) |
Add a fallback font (for emojis)
-rw-r--r-- | emacs-init.org | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org index 2aa3393..e3aff7c 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -655,6 +655,17 @@ Meant to be used at some early initialisation stage, such as with ;; The "C-c f" is used elsewhere. :bind ("C-c F" . prot/font-fonts-dwim)) #+end_src +*** Emoji +For undefined characters in the default font, we can set a fallback font using [[info:emacs#Fontsets][fontsets]]. + +Here we set it to use the google icons as fallback. +#+begin_src emacs-lisp +(set-fontset-font "fontset-default" 'unicode "Noto Color Emoji") +#+end_src +Alternatively we could use =OpenMoji= or other icon sets. +#+begin_src emacs-lisp :tangle no +(set-fontset-font "fontset-default" 'unicode "OpenMoji") +#+end_src ** Theme & Faces =hc-zenburn= is the theme I chose for a long time. Lately I started to appreciate light themes more. [[https://gitlab.com/protesilaos/modus-themes][modus-operandi]] is an interesting light |