feat: make alacritty enter workspace automatically

Signed-off-by: d0zingcat <iamtangli42@gmail.com>
This commit is contained in:
2025-12-01 11:23:12 +08:00
parent 8ff4fc0173
commit 225e2f8394

View File

@@ -3,13 +3,12 @@ TERM = "alacritty"
[general] [general]
import = ["~/.config/alacritty/tokyo-night.toml"] import = ["~/.config/alacritty/tokyo-night.toml"]
working_directory = "~"
live_config_reload = true live_config_reload = true
[terminal] [terminal]
# OSC 52 剪贴板支持 # OSC 52 剪贴板支持
osc52 = "CopyPaste" # Disabled, OnlyCopy, OnlyPaste, CopyPaste osc52 = "CopyPaste" # Disabled, OnlyCopy, OnlyPaste, CopyPaste
shell = {program = "/bin/zsh"} shell = { program = "/bin/zsh", args = ["-c", "cd ~/Workspace 2>/dev/null || true; exec zsh"] }
[selection] [selection]
semantic_escape_chars = ",│`|\"' ()[]{}<>" semantic_escape_chars = ",│`|\"' ()[]{}<>"
@@ -60,7 +59,6 @@ blink_timeout = 5
hide_when_typing = false hide_when_typing = false
bindings = [ bindings = [
{ mouse = "Middle", action = "PasteSelection" }, { mouse = "Middle", action = "PasteSelection" },
{ mouse = "Right", action = "ExpandSelection" },
] ]
[hints] [hints]