-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalacritty.toml
288 lines (209 loc) · 6.16 KB
/
alacritty.toml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# https://alacritty.org/config-alacritty.html
###########
# GENERAL #
###########
[env]
# Environment variables
##########
# WINDOW #
##########
[window]
# Window dimensions
dimensions = { columns = 0, lines = 0 } # Default: columns = 0, lines = 0
# Window startup position
position = "None" # Default: "None"
# Padding
padding = { x = 0, y = 0 } # Default: x = 0, y = 0
# Dynamic padding
dynamic_padding = false # Default: false
# Window decorations
decorations = "None" # Default: "Full"
# Opacity
opacity = 0.9 # Default: 1.0
# Blur (macOS/KDE Wayland only)
blur = false # Default: false
# Startup mode
startup_mode = "Maximized" # Default: "Windowed"
# Window title
title = "Alacritty" # Default: "Alacritty"
# Dynamic title
dynamic_title = true # Default: true
# Window class (Linux/BSD only)
class = { instance = "Alacritty", general = "Alacritty" } # Default: instance = "Alacritty", general = "Alacritty"
# Decorations theme variant
decorations_theme_variant = "None" # Default: "None"
# Resize increments
resize_increments = false # Default: false
# Option as Alt (macOS only)
option_as_alt = "None" # Default: "None"
#############
# SCROLLING #
#############
[scrolling]
# Maximum number of lines in the scrollback buffer
history = 10000 # Default: 10000
# Number of lines scrolled for every input scroll increment
multiplier = 3 # Default: 3
########
# FONT #
########
[font]
# Normal font style
normal = { family = "Monaco", style = "Regular" } # Default for Linux/BSD: "monospace", Regular
# Bold font style
bold = { family = "Monaco", style = "Bold" } # Inherits family from normal, Default style: Bold
# Italic font style
italic = { family = "Cascadia Code", style = "Italic" } # Inherits family from normal, Default style: Italic
# Bold Italic font style
bold_italic = { family = "Cascadia Code", style = "Bold Italic" } # Inherits family from normal, Default style: Bold Italic
# Font size in points
size = 22.5 # Default: 11.25
# Offset is extra space around each character
offset = { x = 0, y = 0 } # Default: x = 0, y = 0
# Glyph offset determines the locations of the glyphs within their cells
glyph_offset = { x = 0, y = 0 } # Default: x = 0, y = 0
# Use built-in font for box drawing characters
builtin_box_drawing = true # Default: true
##########
# COLORS #
##########
[colors]
# Transparent background colors
transparent_background_colors = false # Default
# Draw bold text with bright colors
draw_bold_text_with_bright_colors = false # Default
# carbonfox theme
[colors.primary]
background = "#161616"
foreground = "#f2f4f8"
dim_foreground = "#b6b8bb"
bright_foreground = "#f9fbff"
[colors.cursor]
text = "#f2f4f8"
cursor = "#b6b8bb"
[colors.vi_mode_cursor]
text = "#f2f4f8"
cursor = "#33b1ff"
[colors.search.matches]
foreground = "#f2f4f8"
background = "#525253"
[colors.search.focused_match]
foreground = "#f2f4f8"
background = "#3ddbd9"
[colors.footer_bar]
foreground = "#f2f4f8"
background = "#353535"
[colors.hints.start]
foreground = "#f2f4f8"
background = "#3ddbd9"
[colors.hints.end]
foreground = "#f2f4f8"
background = "#353535"
[colors.selection]
text = "#f2f4f8"
background = "#2a2a2a"
[colors.normal]
black = "#282828"
red = "#ee5396"
green = "#25be6a"
yellow = "#08bdba"
blue = "#78a9ff"
magenta = "#be95ff"
cyan = "#33b1ff"
white = "#dfdfe0"
[colors.bright]
black = "#484848"
red = "#f16da6"
green = "#46c880"
yellow = "#2dc7c4"
blue = "#8cb6ff"
magenta = "#c8a5ff"
cyan = "#52bdff"
white = "#e4e4e5"
[colors.dim]
black = "#222222"
red = "#ca4780"
green = "#1fa25a"
yellow = "#07a19e"
blue = "#6690d9"
magenta = "#a27fd9"
cyan = "#2b96d9"
white = "#bebebe"
########
# BELL #
########
[bell]
# Visual bell animation effect
animation = "Linear" # Default: "Linear"
# Duration of the visual bell flash in milliseconds
duration = 0 # Default: 0
# Visual bell animation color
color = "#ffffff" # Default: "#ffffff"
# Command executed when the bell is rung
command = "None" # Default: "None"
#############
# SELECTION #
#############
[selection]
# Characters that are used as separators for "semantic words" in Alacritty
semantic_escape_chars = ",│`|:\"' ()[]{}<>\\t" # Default: ",│`|:\"' ()[]{}<>\\t"
# When set to true, selected text will be copied to the primary clipboard
save_to_clipboard = false # Default: false
##########
# CURSOR #
##########
[cursor]
# Cursor style
style = { shape = "Block", blinking = "On" } # Default: shape = "Block", blinking = "Off"
# Vi mode cursor style (falls back to the active value of the normal cursor if "None")
vi_mode_style = "None" # Default: "None"
# Cursor blinking interval in milliseconds
blink_interval = 750 # Default: 750
# Time after which cursor stops blinking, in seconds
blink_timeout = 0 # Default: 5
# When true, the cursor will be rendered as a hollow box when the window is not focused
unfocused_hollow = true # Default: true
# Thickness of the cursor relative to the cell width
thickness = 0.15 # Default: 0.15
############
# TERMINAL #
############
[terminal]
shell = "/usr/local/bin/tmux"
# Controls the OSC 52 behavior for clipboard interactions
osc52 = "CopyPaste" # Default: "OnlyCopy"
#########
# MOUSE #
#########
[mouse]
# When true, the cursor is temporarily hidden when typing
hide_when_typing = true # Default: false
# Mouse bindings (actual bindings need to be defined as per user preference)
# Example: bindings = [{ mouse = "Left", action = "Paste" }]
bindings = []
#########
# HINTS #
#########
[hints]
# Define the keys used for hint labels
alphabet = "jfkdls;ahgurieowpq" # Default: "jfkdls;ahgurieowpq"
# Enable specific hints
#[[hints.enabled]]
# Example configuration (actual settings to be defined based on user preference)
# regex = "..."
# hyperlinks = true
# post_processing = true
# persist = false
# action = "..."
# command = "..."
# binding = { key = "...", mods = "...", mode = "..." }
# mouse = { mods = "...", enabled = true }
# KEYBOARD section of Alacritty configuration
[keyboard]
# Define keyboard bindings here
# Example placeholder (actual bindings need to be defined based on user preference)
bindings = [
# { key = "Key", mods = "Modifiers", action = "Action" },
# { key = "Key", mods = "Modifiers", chars = "Characters to send" },
# ...
]