Setup emacs fallback fonts, add more defaults

This commit is contained in:
Evie Litherland-Smith 2023-10-10 14:52:37 +01:00
parent fac2b9caef
commit a8c72b6761
4 changed files with 22 additions and 10 deletions

View file

@ -29,8 +29,6 @@ in {
emacsPackages.mu4e
emacsPackages.vterm
emacsPackages.pdf-tools
emacsPackages.all-the-icons
emacsPackages.nerd-icons
# Emacs dependencies
coreutils

View file

@ -14,6 +14,15 @@
user-mail-address "e.litherlandsmith@proton.me"
doom-font (font-spec :family "FiraCode Nerd Font" :size 16 :weight 'regular)
doom-theme 'catppuccin
doom-emoji-fallback-font-families '("Noto Color Emoji")
doom-symbol-fallback-font-families '("FiraCode Nerd Font"
"FontAwesome"
"Weather Icons"
"Material Icons"
"Material Design Icons"
"Material Symbols Rounded"
"Material Symbols Sharp"
"Material Symbols Outlined")
catppuccin-flavor 'macchiato
display-line-numbers-type 'relative
org-directory "~/Notes/"

View file

@ -2,8 +2,6 @@
;;; $DOOMDIR/packages.el
(package! pdf-tools :built-in 'prefer)
(package! all-the-icons :built-in 'prefer)
(package! nerd-icons :built-in 'prefer)
(package! catppuccin-theme)
(package! pocket-reader)
(package! magit-delta)

View file

@ -66,18 +66,25 @@
noto-fonts-emoji
font-awesome
material-symbols
emacs-all-the-icons-fonts
material-design-icons
weather-icons
vscode-extensions.file-icons.file-icons
emacs-all-the-icons-fonts
];
fontconfig = {
enable = true;
defaultFonts = {
serif = [ "Fira Sans" "DejaVu Sans" ];
sansSerif = [ "Fira Sans" "DejaVu Sans" ];
monospace = [ "Fira Mono" "DejaVu Sans Mono" ];
emoji = [ "Noto Color Emoji" ];
defaultFonts = let
icons = [
"FontAwesome"
"Material Icons"
"Material Design Icons"
"Weather Icons"
];
in rec {
sansSerif = [ "Fira Sans" "DejaVu Sans" ] ++ icons;
serif = sansSerif;
monospace = [ "Fira Mono" "DejaVu Sans Mono" ] ++ icons;
emoji = [ "Noto Color Emoji" ] ++ icons;
};
};
};