diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..501c2e7 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,54 @@ +import = ["./local.toml"] + +[colors] +draw_bold_text_with_bright_colors = true + +[env] +TERM = "xterm-256color" + +[font] +size = 14 + +[font.bold] +style = "Bold" + +[font.normal] +family = "Source Code Pro" + +[[keyboard.bindings]] +chars = "\u001Bb" +key = "B" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001Bb" +key = "Left" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001Bf" +key = "F" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001Bf" +key = "Right" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u0015" +key = "Back" +mods = "Command" + +[[keyboard.bindings]] +action = "CreateNewWindow" +key = "N" +mods = "Command" + +[[keyboard.bindings]] +key = "Comma" +mods = "Command" + +[keyboard.bindings.command] +args = ["-c", "/opt/homebrew/bin/neovide ~/.config/alacritty/alacritty.toml"] +program = "sh" diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 100644 index 3203843..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,158 +0,0 @@ -env: - TERM: xterm-256color - -font: - normal: - family: Source Code Pro - bold: - style: Bold - -draw_bold_text_with_bright_colors: true -hide_cursor_when_typing: true - -key_bindings: - - { key: B, mods: Alt, chars: "\eb" } - - { key: Left, mods: Alt, chars: "\eb" } - - { key: F, mods: Alt, chars: "\ef" } - - { key: Right, mods: Alt, chars: "\ef" } - - { key: Back, mods: Command, chars: "\x15" } - - - { key: N, mods: Command, action: CreateNewWindow } - - { key: Comma, mods: Command, command: - { program: "sh", args: ["-c", "/opt/homebrew/bin/neovide ~/.config/alacritty/alacritty.yml"] } } - -import: - - ~/.config/alacritty/local.yml - -apprentice: &apprentice - # https://github.com/romainl/Apprentice - primary: - background: "0x262626" - foreground: "0xbcbcbc" - - normal: - black: "0x1c1c1c" - red: "0xaf5f5f" - green: "0x5f875f" - yellow: "0x87875f" - blue: "0x5f87af" - magenta: "0x5f5f87" - cyan: "0x5f8787" - white: "0xbfbfbf" # originally "0x6c6c6c", lightened up a bit - - bright: - black: "0x444444" - red: "0xff8700" - green: "0x87af87" - yellow: "0xffffaf" - blue: "0x87afd7" - magenta: "0x8787af" - cyan: "0x5fafaf" - white: "0xffffff" - -ashes: &ashes - primary: - background: "0x1c2023" - foreground: "0xc7ccd1" - - normal: - black: "0x1c2023" - red: "0xc7ae95" - green: "0x95c7ae" - yellow: "0xaec795" - blue: "0xae95c7" - magenta: "0xc795ae" - cyan: "0x95aec7" - white: "0xc7ccd1" - - bright: - black: "0x747c84" - red: "0xc7ae95" - green: "0x95c7ae" - yellow: "0xaec795" - blue: "0xae95c7" - magenta: "0xc795ae" - cyan: "0x95aec7" - white: "0xf3f4f5" - -catppuccin-mocha: &catppuccin-mocha - primary: - background: "#1E1E2E" # base - foreground: "#CDD6F4" # text - # Bright and dim foreground colors - dim_foreground: "#CDD6F4" # text - bright_foreground: "#CDD6F4" # text - - # Cursor colors - cursor: - text: "#1E1E2E" # base - cursor: "#F5E0DC" # rosewater - vi_mode_cursor: - text: "#1E1E2E" # base - cursor: "#B4BEFE" # lavender - - # Search colors - search: - matches: - foreground: "#1E1E2E" # base - background: "#A6ADC8" # subtext0 - focused_match: - foreground: "#1E1E2E" # base - background: "#A6E3A1" # green - footer_bar: - foreground: "#1E1E2E" # base - background: "#A6ADC8" # subtext0 - - # Keyboard regex hints - hints: - start: - foreground: "#1E1E2E" # base - background: "#F9E2AF" # yellow - end: - foreground: "#1E1E2E" # base - background: "#A6ADC8" # subtext0 - - # Selection colors - selection: - text: "#1E1E2E" # base - background: "#F5E0DC" # rosewater - - # Normal colors - normal: - black: "#45475A" # surface1 - red: "#F38BA8" # red - green: "#A6E3A1" # green - yellow: "#F9E2AF" # yellow - blue: "#89B4FA" # blue - magenta: "#F5C2E7" # pink - cyan: "#94E2D5" # teal - white: "#BAC2DE" # subtext1 - - # Bright colors - bright: - black: "#585B70" # surface2 - red: "#F38BA8" # red - green: "#A6E3A1" # green - yellow: "#F9E2AF" # yellow - blue: "#89B4FA" # blue - magenta: "#F5C2E7" # pink - cyan: "#94E2D5" # teal - white: "#A6ADC8" # subtext0 - - # Dim colors - dim: - black: "#45475A" # surface1 - red: "#F38BA8" # red - green: "#A6E3A1" # green - yellow: "#F9E2AF" # yellow - blue: "#89B4FA" # blue - magenta: "#F5C2E7" # pink - cyan: "#94E2D5" # teal - white: "#BAC2DE" # subtext1 - - indexed_colors: - - { index: 16, color: "#FAB387" } - - { index: 17, color: "#F5E0DC" } - -colors: *ashes -