My alacritty config file is in ~/.config/alacritty/alacritty.yml
with the following font settings:
# Font configuration
font:
[...]
# Point size
size: 10.0
All other font configuration options are commented out. I verified that alacritty is indeed reading this config file using the -vvv
flag.
However, whenever I open a new terminal window the font seems to be selected at random. Below a picture of two windows opened one right after the other.
Possible workaround is to use
-o
flag when running alacritty and setfont.size
to desired value. Can be done through .bash_aliases or your WM config to make it faster to use.Example:
Btw. I couldn't reproduce random font selection but I had problem with setting custom font size through alacritty config file.