1.安装
安装请参考链接https://github.com/alacritty/alacritty
2.Windows配置
2.1文件配置路径
windows:AppData\Roaming\alacritty\alacritty.yml
linux:~/.config/alacritty/alacritty.yml
3.配置参考
window:
dimensions:
columns: 120
lines: 30
####配置窗口半透明
background_opacity: 0.8
# 实时重载配置文件,不用重启测试配置选项
live_config_reload: truecolors:
primary:
foreground: '0xeeeeec'
normal:
black: '0x2e3436'
red: '0xcc0000'
green: '0x73d216'
yellow: '0xedd400'
blue: '0x3465a4'
magenta: '0x75507b'
cyan: '0x06989a'
white: '0xd3d7cf'
bright:
black: '0x2e3436'
red: '0xef2929'
green: '0x8ae234'
yellow: '0xfce94f'
blue: '0x729fcf'
magenta: '0xad7fa8'
cyan: '0x34e2e2'
white: '0xeeeeec'####字体配置
font:
size: 15
normal:
family: Hack Nerd Font Mono
style: Regular
bold:
family: Hack Nerd Font Mono
style: bold
italic:
family: Hack Nerd Font Mono
style: italic
cursor:
style: underline