fix alacritty: terminal shell

This commit is contained in:
2025-04-24 00:29:58 +08:00
parent 37a4fc794e
commit c77214c4ce

View File

@@ -0,0 +1,48 @@
[general]
import = [
"~/.config/alacritty/themes/themes/nord.toml"
]
[window]
opacity = 0.95
blur = true
decorations_theme_variant = "Dark"
[window.dimensions]
columns = 145
lines = 42
[font]
size = 10.0
[font.bold]
family = "MesloLGS NF"
style = "Bold"
[font.bold_italic]
family = "MesloLGS NF"
style = "Bold Italic"
[font.italic]
family = "MesloLGS NF"
style = "Italic"
[font.normal]
family = "MesloLGS NF"
style = "Regular"
[scrolling]
history = 100000
multiplier = 3
[cursor.style]
shape = "Block"
blinking = "Always"
[[hints.enabled]]
regex = "[^ ]+\\.rs:\\d+:\\d+"
command = { program = "code", args = [ "--goto" ] }
mouse = { enabled = true }
[terminal]
shell = {{ if lookPath "zellij" }}"{{ lookPath "zellij" }}"{{else}}"{{ lookPath "bash" }}"{{ end }}