1import = [
2{{- if eq .theme_variant "light" }}
3 "~/.config/alacritty/catppuccin-latte.toml",
4{{- else if eq .theme_variant "dark" }}
5 "~/.config/alacritty/catppuccin-macchiato.toml",
6{{- end }}
7]
8
9shell = "zsh"
10
11[env]
12TERM = "xterm-256color"
13
14[window]
15decorations = "None"
16padding = { x = 7, y = 5 }
17
18[font]
19normal = { family = "{{ .font }}", style = "Regular" }
20
21[cursor]
22style = { blinking = "On" }
23blink_interval = 500
24
25[mouse]
26hide_when_typing = true
27
28[[hints.enabled]]
29command = "xdg-open"
30hyperlinks = true
31post_processing = true
32persist = true
33mouse.enabled = true
34binding = { key = "U", mods = "Control|Shift" }
35regex = "(ipfs:|xmpp:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"