[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 # But this is actually a wrong/bad workaround and not real fix for issue 2 above. I should not do this. # The correct way is to the patch to add `TERM alacritty` in coreutils git repo src/dircolors.hin # But the patch does not go through # related coreutils ls issues mailing list: # https://lists.gnu.org/archive/html/bug-coreutils/2024-04/msg00022.html # https://lists.gnu.org/archive/html/bug-coreutils/2024-04/msg00020.html # https://lists.gnu.org/archive/html/coreutils/2021-10/msg00007.html # related alacritty issues: # https://github.com/alacritty/alacritty/issues/3901 # https://github.com/alacritty/alacritty/issues/3606 # https://github.com/alacritty/alacritty/issues/2210 # https://github.com/alacritty/alacritty/issues/3705 # https://github.com/alacritty/alacritty/issues/4710 # I choose a more correct workaround to pass COLORTERM to ssh # If some remote server doesn't work well e.g.: can't install alacritty, # I then choose to set TERM to st in ssh config for that server #[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 # https://github.com/alacritty/alacritty-theme/blob/b7a59c92fd54a005893b99479fb0aa466a37a4b7/themes/tomorrow_night.toml # Colors (Tomorrow Night) # Default colors [colors.primary] background = '#1d1f21' foreground = '#c5c8c6' [colors.cursor] text = '#1d1f21' cursor = '#ffffff' # Normal colors [colors.normal] black = '#1d1f21' red = '#cc6666' green = '#b5bd68' yellow = '#e6c547' blue = '#81a2be' magenta = '#b294bb' cyan = '#70c0ba' white = '#373b41' # Bright colors [colors.bright] black = '#666666' red = '#ff3334' green = '#9ec400' yellow = '#f0c674' blue = '#81a2be' magenta = '#b77ee0' cyan = '#54ced6' white = '#282a2e'