summaryrefslogtreecommitdiff
path: root/home/xyz/.config/alacritty/alacritty.toml
blob: cac3faff468ef82a9e4158ddbc7fe5da56e9a2ba (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
[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'