blob: c6544a8f742614d4c95e96ec5e49b2f3fb7061bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# `man 5 alacritty`
[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
# alacritty change default color scheme related dicussions and links:
# Their decision to change:
# https://github.com/alacritty/alacritty/pull/6933
# https://github.com/alacritty/alacritty/pull/6933/commits/a68bad5eb7a26e2a5fc1d687e4ba818eb9b7e206
# https://github.com/alacritty/alacritty/blob/91e3cd6a40aa98cf9a76e7cd3534f7fbb0a27098/CHANGELOG.md?plain=1#L48
# Efforts about how to change back:
# https://github.com/alacritty/alacritty/issues/7467
# https://github.com/alacritty/alacritty-theme/pull/58
# True old default color scheme:
# https://github.com/alacritty/alacritty-theme/blob/master/themes/alacritty_0_12.toml
# Alacritty's default color scheme pre-0.13 (based on tomorrow_night)
# https://github.com/alacritty/alacritty/blob/v0.12.3/alacritty/src/config/color.rs
[colors.primary]
foreground = "#c5c8c6"
background = "#1d1f21"
[colors.normal]
black = "#1d1f21"
red = "#cc6666"
green = "#b5bd68"
yellow = "#f0c674"
blue = "#81a2be"
magenta = "#b294bb"
cyan = "#8abeb7"
white = "#c5c8c6"
[colors.bright]
black = "#666666"
red = "#d54e53"
green = "#b9ca4a"
yellow = "#e7c547"
blue = "#7aa6da"
magenta = "#c397d8"
cyan = "#70c0b1"
white = "#eaeaea"
[colors.dim]
black = "#131415"
red = "#864343"
green = "#777c44"
yellow = "#9e824c"
blue = "#556a7d"
magenta = "#75617b"
cyan = "#5b7d78"
white = "#828482"
[colors.hints]
start = { foreground = "#1d1f21", background = "#e9ff5e" }
end = { foreground = "#e9ff5e", background = "#1d1f21" }
[colors.search]
matches = { foreground = "#000000", background = "#ffffff" }
focused_match = { foreground = "#ffffff", background = "#000000" }
|