mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
88 lines
2.1 KiB
TOML
88 lines
2.1 KiB
TOML
[env]
|
|
TERM = "alacritty"
|
|
|
|
[general]
|
|
import = ["~/.config/alacritty/tokyo-night.toml"]
|
|
working_directory = "~"
|
|
live_config_reload = true
|
|
|
|
[terminal]
|
|
# OSC 52 剪贴板支持
|
|
osc52 = "CopyPaste" # Disabled, OnlyCopy, OnlyPaste, CopyPaste
|
|
shell = {program = "/bin/zsh"}
|
|
|
|
[selection]
|
|
semantic_escape_chars = ",│`|\"' ()[]{}<>"
|
|
save_to_clipboard = false
|
|
|
|
[window]
|
|
dimensions = { columns = 120, lines = 40 }
|
|
padding = { x = 0, y = 0 }
|
|
position = { x = 0, y = 0 }
|
|
dynamic_padding = true
|
|
decorations = "Full" # Full, None, Transparent, Buttonless
|
|
opacity = 0.95
|
|
blur = false
|
|
startup_mode = "Maximized" # Windowed, Maximized, Fullscreen
|
|
title = "Alacritty"
|
|
dynamic_title = true
|
|
# Linux
|
|
class = { instance = "Alacritty", general = "Alacritty" }
|
|
# MacOS
|
|
decorations_theme_variant = "Dark"
|
|
|
|
[scrolling]
|
|
history = 10000
|
|
multiplier = 3
|
|
|
|
[font]
|
|
size = 13
|
|
normal = {family = "JetBrainsMono Nerd Font Mono"}
|
|
bold = {family = "JetBrainsMono Nerd Font Mono"}
|
|
italic = {family = "JetBrainsMono Nerd Font Mono"}
|
|
bold_italic = {family = "JetBrainsMono Nerd Font Mono"}
|
|
|
|
[colors]
|
|
transparent_background_colors = false
|
|
|
|
[cursor]
|
|
style = { shape = "Block", blinking = "Off" } # Block, Underline, Beam
|
|
thickness = 0.15
|
|
unfocused_hollow = true
|
|
blink_interval = 750
|
|
blink_timeout = 5
|
|
|
|
# [bell]
|
|
# animation = "EaseOutExpo" # Ease EaseOut EaseOutSine EaseOutQuad EaseOutCubic EaseOutQuart EaseOutQuint EaseOutExpo EaseOutCirc Linear
|
|
# duration = 75
|
|
|
|
[mouse]
|
|
hide_when_typing = false
|
|
bindings = [
|
|
{ mouse = "Middle", action = "PasteSelection" },
|
|
{ mouse = "Right", action = "ExpandSelection" },
|
|
]
|
|
|
|
[hints]
|
|
alphabet = "jfkdls;ahgurieowpq"
|
|
|
|
[[hints.enabled]]
|
|
regex = '''(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001f\u007f-\u009f<>"\\s{-}\\^⟨⟩`]+'''
|
|
command = "open"
|
|
post_processing = true
|
|
|
|
[hints.enabled.mouse]
|
|
enabled = true
|
|
mods = "None"
|
|
|
|
[hints.enabled.binding]
|
|
key = "U"
|
|
mods = "Control|Shift"
|
|
|
|
[keyboard]
|
|
bindings = [
|
|
# Window/Tab switching
|
|
{ key = "Tab", mods = "Control", action = "SelectNextTab" },
|
|
{ key = "Tab", mods = "Control|Shift", action = "SelectPreviousTab" },
|
|
]
|