Add fontconfig and configure custom MonoFont fallback order
This commit is contained in:
parent
96f641b028
commit
3218c21c74
|
@ -61,7 +61,7 @@ scrolling:
|
|||
font:
|
||||
# Normal (roman) font face
|
||||
normal:
|
||||
family: Pragmata Pro
|
||||
family: MonoFont
|
||||
style: Regular
|
||||
|
||||
size: {{ .alacritty.font.size }}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>MonoFont</family>
|
||||
<prefer>
|
||||
<family>Pragmata Pro</family>
|
||||
<family>Font Awesome 6 Free Regular</family>
|
||||
<family>Font Awesome 6 Brands Regular</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
|
@ -33,7 +33,7 @@ set $right i
|
|||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:FontAwesome, Pragmata Pro {{ .i3.font_size }}
|
||||
font pango:MonoFont {{ .i3.font_size }}
|
||||
|
||||
#class background border text split
|
||||
client.focused $color8 $color8 $foreground $color7
|
||||
|
|
Loading…
Reference in New Issue