diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-12-28 05:11:39 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-12-28 05:42:48 -0800 |
commit | aff6af0b72b80c1548e092190cb981980306dee3 (patch) | |
tree | 42aa44056ec595892445b40ed931542c05edbaf4 /home/xyz/.config/alacritty | |
parent | 11412d18a80f82e950265c0fe374d646bed548c3 (diff) |
fix: alacritty config migrate to .toml
Diffstat (limited to 'home/xyz/.config/alacritty')
-rw-r--r-- | home/xyz/.config/alacritty/alacritty.toml | 24 | ||||
-rw-r--r-- | home/xyz/.config/alacritty/alacritty.yml | 16 |
2 files changed, 24 insertions, 16 deletions
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 |