From 690faf494bb74cc9869a99bfc8b5433f47ef762d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 28 Dec 2023 05:11:39 -0800 Subject: fix: alacritty config migrate to .toml --- home/xyz/.config/alacritty/alacritty.toml | 24 ++++++++++++++++++++++++ home/xyz/.config/alacritty/alacritty.yml | 16 ---------------- 2 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 home/xyz/.config/alacritty/alacritty.toml delete mode 100644 home/xyz/.config/alacritty/alacritty.yml (limited to 'home') diff --git a/home/xyz/.config/alacritty/alacritty.toml b/home/xyz/.config/alacritty/alacritty.toml new file mode 100644 index 00000000..42945ad0 --- /dev/null +++ b/home/xyz/.config/alacritty/alacritty.toml @@ -0,0 +1,24 @@ +[cursor] +vi_mode_style = "Block" + +# 1. when set TERM use alacritty on windows, syntax is very bad +# 2. need to set xterm-256color if want ls show color when use ssh +[env] +TERM = "xterm-256color" + +[font] +size = 8.0 + +# for cataclysm dda game, use this font, kinda square font, recommended from web +# for .toml, all following three configs seem work +# https://toml.io/en/v1.0.0#inline-table + +#normal.family = "White Rabbit" + +#normal = { family = "White Rabbit" } + +#[font.normal] +#family = "White Rabbit" + +[window] +dynamic_padding = true diff --git a/home/xyz/.config/alacritty/alacritty.yml b/home/xyz/.config/alacritty/alacritty.yml deleted file mode 100644 index 083ad876..00000000 --- a/home/xyz/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,16 +0,0 @@ -cursor: - vi_mode_style: Block - -# 1. when set TERM use alacritty on windows, syntax is very bad -# 2. need to set xterm-256color if want ls show color when use ssh -env: - TERM: xterm-256color - -font: -# for cataclysm dda game, use this font, kinda square font, recommended from web -# normal: -# family: White Rabbit - size: 8.0 - -window: - dynamic_padding: true -- cgit v1.2.3-70-g09d2