mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
feat: update alacritty settings
Signed-off-by: d0zingcat <iamtangli42@gmail.com>
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
[env]
|
||||
TERM = "alacritty"
|
||||
|
||||
[general]
|
||||
import = ["~/.config/alacritty/tokyo-night.toml"]
|
||||
working_directory = "~"
|
||||
live_config_reload = true
|
||||
|
||||
[terminal.shell]
|
||||
program = "/bin/zsh"
|
||||
[terminal]
|
||||
# OSC 52 剪贴板支持
|
||||
osc52 = "CopyPaste" # Disabled, OnlyCopy, OnlyPaste, CopyPaste
|
||||
shell = {program = "/bin/zsh"}
|
||||
|
||||
[env]
|
||||
TERM = "alacritty"
|
||||
[selection]
|
||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
|
||||
|
||||
[window]
|
||||
dimensions = { columns = 120, lines = 40 }
|
||||
@@ -31,22 +36,43 @@ multiplier = 3
|
||||
|
||||
[font]
|
||||
size = 13
|
||||
|
||||
[font.normal]
|
||||
family = "JetBrainsMono Nerd Font Mono"
|
||||
style = "Regular"
|
||||
|
||||
[font.bold]
|
||||
family = "JetBrainsMono Nerd Font Mono"
|
||||
style = "Bold"
|
||||
|
||||
[font.italic]
|
||||
family = "JetBrainsMono Nerd Font Mono"
|
||||
style = "Italic"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "JetBrainsMono Nerd Font Mono"
|
||||
style = "Bold Italic"
|
||||
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 = true
|
||||
bindings = [
|
||||
{ mouse = "Middle", action = "PasteSelection" },
|
||||
]
|
||||
|
||||
[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"
|
||||
|
||||
57
alacritty/nord.toml
Normal file
57
alacritty/nord.toml
Normal file
@@ -0,0 +1,57 @@
|
||||
[colors.vi_mode_cursor]
|
||||
text = "#2e3440"
|
||||
cursor = "#d8dee9"
|
||||
|
||||
[colors.search.matches]
|
||||
foreground = "#2e3440"
|
||||
background = "#88c0d0"
|
||||
|
||||
[colors.search.focused_match]
|
||||
foreground = "#2e3440"
|
||||
background = "#5e81ac"
|
||||
|
||||
[colors.footer_bar]
|
||||
foreground = "#2e3440"
|
||||
background = "#d8dee9"
|
||||
|
||||
[colors.hints.start]
|
||||
foreground = "#2e3440"
|
||||
background = "#ebcb8b"
|
||||
|
||||
[colors.hints.end]
|
||||
foreground = "#2e3440"
|
||||
background = "#a3be8c"
|
||||
|
||||
[colors.selection]
|
||||
text = "CellForeground"
|
||||
background = "#4c566a"
|
||||
|
||||
[colors.normal]
|
||||
black = "#3b4252"
|
||||
red = "#bf616a"
|
||||
green = "#a3be8c"
|
||||
yellow = "#ebcb8b"
|
||||
blue = "#81a1c1"
|
||||
magenta = "#b48ead"
|
||||
cyan = "#88c0d0"
|
||||
white = "#e5e9f0"
|
||||
|
||||
[colors.bright]
|
||||
black = "#4c566a"
|
||||
red = "#bf616a"
|
||||
green = "#a3be8c"
|
||||
yellow = "#ebcb8b"
|
||||
blue = "#81a1c1"
|
||||
magenta = "#b48ead"
|
||||
cyan = "#8fbcbb"
|
||||
white = "#eceff4"
|
||||
|
||||
[colors.dim]
|
||||
black = "#373e4d"
|
||||
red = "#94545d"
|
||||
green = "#809575"
|
||||
yellow = "#b29e75"
|
||||
blue = "#68809a"
|
||||
magenta = "#8c738c"
|
||||
cyan = "#6d96a5"
|
||||
white = "#aeb3bb"
|
||||
@@ -1,23 +1,91 @@
|
||||
[colors.bright]
|
||||
black = "#444b6a"
|
||||
blue = "#7da6ff"
|
||||
cyan = "#0db9d7"
|
||||
green = "#b9f27c"
|
||||
magenta = "#bb9af7"
|
||||
red = "#ff7a93"
|
||||
white = "#acb0d0"
|
||||
yellow = "#ff9e64"
|
||||
|
||||
[colors.normal]
|
||||
black = "#32344a"
|
||||
blue = "#7aa2f7"
|
||||
cyan = "#449dab"
|
||||
green = "#9ece6a"
|
||||
magenta = "#ad8ee6"
|
||||
red = "#f7768e"
|
||||
white = "#787c99"
|
||||
yellow = "#e0af68"
|
||||
|
||||
[colors.primary]
|
||||
background = "#1a1b26"
|
||||
foreground = "#a9b1d6"
|
||||
foreground = "#c0caf5"
|
||||
dim_foreground = "#a9b1d6"
|
||||
bright_foreground = "#c0caf5"
|
||||
|
||||
[colors.cursor]
|
||||
text = "#1a1b26"
|
||||
cursor = "#c0caf5"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
text = "#1a1b26"
|
||||
cursor = "#bb9af7"
|
||||
|
||||
[colors.search.matches]
|
||||
foreground = "#1a1b26"
|
||||
background = "#e0af68"
|
||||
|
||||
[colors.search.focused_match]
|
||||
foreground = "#1a1b26"
|
||||
background = "#7aa2f7"
|
||||
|
||||
[colors.footer_bar]
|
||||
foreground = "#c0caf5"
|
||||
background = "#24283b"
|
||||
|
||||
[colors.hints.start]
|
||||
foreground = "#1a1b26"
|
||||
background = "#e0af68"
|
||||
|
||||
[colors.hints.end]
|
||||
foreground = "#1a1b26"
|
||||
background = "#9ece6a"
|
||||
|
||||
[colors.selection]
|
||||
text = "CellForeground"
|
||||
background = "#364A82"
|
||||
|
||||
[colors.normal]
|
||||
black = "#15161e"
|
||||
red = "#f7768e"
|
||||
green = "#9ece6a"
|
||||
yellow = "#e0af68"
|
||||
blue = "#7aa2f7"
|
||||
magenta = "#bb9af7"
|
||||
cyan = "#7dcfff"
|
||||
white = "#a9b1d6"
|
||||
|
||||
[colors.bright]
|
||||
black = "#414868"
|
||||
red = "#f7768e"
|
||||
green = "#9ece6a"
|
||||
yellow = "#e0af68"
|
||||
blue = "#7aa2f7"
|
||||
magenta = "#bb9af7"
|
||||
cyan = "#7dcfff"
|
||||
white = "#c0caf5"
|
||||
|
||||
[colors.dim]
|
||||
black = "#32344a"
|
||||
red = "#f7768e"
|
||||
green = "#9ece6a"
|
||||
yellow = "#e0af68"
|
||||
blue = "#7aa2f7"
|
||||
magenta = "#bb9af7"
|
||||
cyan = "#7dcfff"
|
||||
white = "#9aa5ce"
|
||||
|
||||
# [colors.bright]
|
||||
# black = "#444b6a"
|
||||
# blue = "#7da6ff"
|
||||
# cyan = "#0db9d7"
|
||||
# green = "#b9f27c"
|
||||
# magenta = "#bb9af7"
|
||||
# red = "#ff7a93"
|
||||
# white = "#acb0d0"
|
||||
# yellow = "#ff9e64"
|
||||
#
|
||||
# [colors.normal]
|
||||
# black = "#32344a"
|
||||
# blue = "#7aa2f7"
|
||||
# cyan = "#449dab"
|
||||
# green = "#9ece6a"
|
||||
# magenta = "#ad8ee6"
|
||||
# red = "#f7768e"
|
||||
# white = "#787c99"
|
||||
# yellow = "#e0af68"
|
||||
#
|
||||
# [colors.primary]
|
||||
# background = "#1a1b26"
|
||||
# foreground = "#a9b1d6"
|
||||
|
||||
Reference in New Issue
Block a user