diff --git a/.alacritty.yml b/.alacritty.yml deleted file mode 100644 index f2c6a6f..0000000 --- a/.alacritty.yml +++ /dev/null @@ -1,82 +0,0 @@ -font: - bold: - family: Comic Code - style: Bold - antialias: true - bold_italic: - family: Comic Code - style: Bold Italic - antialias: true - italic: - family: Comic Code - style: Italic - antialias: true - normal: - family: Comic Code - style: Medium - antialias: true - size: 16 - -offset: - x: 0 - y: 0 - -glyph_offset: - x: 0 - y: 0 - -use_thin_strokes: true - -mouse: - hints: - launcher: - program: open - modifiers: Command - -key_bindings: - - { key: Return, mods: Control|Shift, action: SpawnNewInstance } - - { key: F, mods: Control, action: SearchForward } - - { key: V, mods: Control|Shift, action: Paste } - - { key: Space, mods: Control, chars: "\x00" } - -selection: - save_to_clipboard: true - -colors: - search: - focused_match: - foreground: "#181818" - background: "#ab4642" - matches: - foreground: "#181818" - background: "#f4bf75" - footer_bar: - background: "#262626" - foreground: "#d0d0d0" - # Default colors - primary: - background: "0x000000" - foreground: "0xffffff" - # Bright colors: - bright: - black: "0x7f7f7f" - blue: "0x5c5cff" - cyan: "0x00ffff" - green: "0x00ff00" - magenta: "0xff00ff" - red: "0xff0000" - white: "0xffffff" - yellow: "0xffff00" - # Normal colors - normal: - black: "0x000000" - blue: "0x0000ee" - cyan: "0x00cdcd" - green: "0x00cd00" - magenta: "0xcd00cd" - red: "0xcd0000" - white: "0xe5e5e5" - yellow: "0xcdcd00" - -import: - - C:\Users\marcin.wozniak\AppData\Roaming\alacritty\dracula.yml diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..2228b2b --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,101 @@ +# use_thin_strokes = true +[env] +TERM = "xterm-256color" + +[general] +import = ["~/.config/alacritty/dracula.toml"] + +[[keyboard.bindings]] +action = "SpawnNewInstance" +key = "Return" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "SearchForward" +key = "F" +mods = "Control" + +[[keyboard.bindings]] +action = "Paste" +key = "V" +mods = "Control|Shift" + +[[keyboard.bindings]] +chars = "\u0000" +key = "Space" +mods = "Control" + +[font] +size = 22 + +[font.normal] +family = "Terminess Nerd Font" +style = "Regular" + +# [font.bold] +# family = "Teminess Nerd Font" +# style = "Bold" + +[font.bold_italic] +family = "Terminess Nerd Font" +style = "Bold Italic" + +[font.italic] +family = "Terminess Nerd Font" +style = "Italic" + +[font.glyph_offset] +x = 0 +y = 0 + +# [mouse.hints] +# modifiers = "Command" + +# [mouse.hints.launcher] +# program = "open" + +[font.offset] +x = 0 +y = 0 + +[selection] +save_to_clipboard = true + +[keyboard] + +# Unused +[colors.bright] +black = "0x7f7f7f" +blue = "0x5c5cff" +cyan = "0x00ffff" +green = "0x00ff00" +magenta = "0xff00ff" +red = "0xff0000" +white = "0xffffff" +yellow = "0xffff00" + +[colors.normal] +black = "0x000000" +blue = "0x0000ee" +cyan = "0x00cdcd" +green = "0x00cd00" +magenta = "0xcd00cd" +red = "0xcd0000" +white = "0xe5e5e5" +yellow = "0xcdcd00" + +[colors.primary] +background = "0x000000" +foreground = "0xffffff" + +[colors.search.focused_match] +background = "#ab4642" +foreground = "#181818" + +# [colors.search.footer_bar] +# background = "#262626" +# foreground = "#d0d0d0" + +[colors.search.matches] +background = "#f4bf75" +foreground = "#181818" diff --git a/.config/alacritty/dracula.toml b/.config/alacritty/dracula.toml new file mode 100755 index 0000000..0a56c29 --- /dev/null +++ b/.config/alacritty/dracula.toml @@ -0,0 +1,76 @@ +# Dracula theme for Alacritty +# https://draculatheme.com/alacritty +# +# Color palette +# https://spec.draculatheme.com +# +# Instructions +# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd + +[colors.primary] + +background = "#282a36" +foreground = "#f8f8f2" +bright_foreground = "#ffffff" + +[colors.cursor] + +text = "#282a36" +cursor = "#f8f8f2" + +[colors.vi_mode_cursor] + +text = "CellBackground" +cursor = "CellForeground" + +[colors.selection] + +text = "CellForeground" +background = "#44475a" + +[colors.normal] + +black = "#21222c" +red = "#ff5555" +green = "#50fa7b" +yellow = "#f1fa8c" +blue = "#bd93f9" +magenta = "#ff79c6" +cyan = "#8be9fd" +white = "#f8f8f2" + +[colors.bright] + +black = "#6272a4" +red = "#ff6e6e" +green = "#69ff94" +yellow = "#ffffa5" +blue = "#d6acff" +magenta = "#ff92df" +cyan = "#a4ffff" +white = "#ffffff" + +[colors.search.matches] + +foreground = "#44475a" +background = "#50fa7b" + +[colors.search.focused_match] + +foreground = "#44475a" +background = "#ffb86c" + +[colors.footer_bar] + +background = "#282a36" +foreground = "#f8f8f2" + +[colors.hints.start] + +foreground = "#282a36" +background = "#f1fa8c" + +[colors.hints.end] + +foreground = "#f1fa8c" +background = "#282a36"