Alacritty: switch to toml config

This commit is contained in:
Akemi Izuko 2023-12-30 13:25:06 -07:00
parent 6686c1874c
commit acc4e1a2fd
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
5 changed files with 238 additions and 0 deletions

116
alacritty/alacritty.toml Normal file
View file

@ -0,0 +1,116 @@
import = ["~/.config/alacritty/themes/base16-gruvbox-dark-pale.toml"]
live_config_reload = true
working_directory = "None"
[bell]
command = "None"
duration = 0
[colors]
draw_bold_text_with_bright_colors = false
[colors.cursor]
cursor = "CellForeground"
text = "CellBackground"
[colors.search.focused_match]
background = "CellForeground"
foreground = "CellBackground"
[colors.search.matches]
background = "#ffffff"
foreground = "#000000"
[colors.selection]
background = "#e69f67"
text = "#000000"
[cursor]
blink_interval = 400
blink_timeout = 0
thickness = 0.15
unfocused_hollow = true
vi_mode_style = "Block"
[cursor.style]
blinking = "Always"
shape = "Block"
[font]
size = 11.5
[font.glyph_offset]
x = 0
y = 1
[font.normal]
family = "MesloLGM Nerd Font"
[font.offset]
x = 1
y = 1
[[keyboard.bindings]]
action = "ToggleViMode"
key = "LBracket"
mods = "Control"
[[keyboard.bindings]]
action = "ToggleViMode"
key = "I"
mode = "Vi"
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "N"
mods = "Alt"
[[keyboard.bindings]]
chars = "\bk"
key = "K"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0000"
key = "Space"
mods = "Control"
[[keyboard.bindings]]
chars = "+"
key = "Equals"
mods = "Control"
[[keyboard.bindings]]
chars = "-"
key = "Minus"
mods = "Control"
[mouse]
hide_when_typing = true
#[mouse.double_click]
#threshold = 300
#[mouse.triple_click]
#threshold = 300
[scrolling]
history = 10000
multiplier = 1
[selection]
save_to_clipboard = true
[shell]
args = ["--login"]
program = "/bin/bash"
[window]
decorations = "None"
dynamic_title = false
opacity = 1
startup_mode = "Windowed"
[window.padding]
x = 4
y = 0

View file

@ -0,0 +1,30 @@
[colors]
draw_bold_text_with_bright_colors = false
[colors.cursor]
cursor = "0x333333"
text = "0xffffff"
[colors.bright]
black = "0x282a35"
blue = "0xcaa9fa"
cyan = "0x9aedfe"
green = "0x5af78e"
magenta = "0xff92d0"
red = "0xff6e67"
white = "0xe6e6e6"
yellow = "0xf4f99d"
[colors.normal]
black = "0x000000"
blue = "0xcaa9fa"
cyan = "0x8be9fd"
green = "0x50fa7b"
magenta = "0xff79c6"
red = "0xff5555"
white = "0xbfbfbf"
yellow = "0xf1fa8c"
[colors.primary]
background = "0x282a36"
foreground = "0xf8f8f2"

View file

@ -0,0 +1,30 @@
[colors]
draw_bold_text_with_bright_colors = false
[colors.bright]
black = "0x969896"
blue = "0xe8e8e8"
cyan = "0x333333"
green = "0xf5f5f5"
magenta = "0xffffff"
red = "0x0086b3"
white = "0xffffff"
yellow = "0xc8c8fa"
[colors.cursor]
cursor = "0x333333"
text = "0xffffff"
[colors.normal]
black = "0xffffff"
blue = "0x795da3"
cyan = "0x183691"
green = "0x183691"
magenta = "0xa71d5d"
red = "0xed6a43"
white = "0x333333"
yellow = "0x795da3"
[colors.primary]
background = "0xffffff"
foreground = "0x333333"

View file

@ -0,0 +1,31 @@
[colors]
draw_bold_text_with_bright_colors = false
[colors.cursor]
cursor = "0x333333"
text = "0xffffff"
[colors.bright]
black = "#928374"
blue = "#83a598"
cyan = "#8ec07c"
green = "#b8bb26"
magenta = "#d3869b"
red = "#fb4934"
white = "#ebdbb2"
yellow = "#fabd2f"
[colors.normal]
black = "#282828"
blue = "#83a598"
cyan = "#8ec07c"
green = "#b8bb26"
magenta = "#d3869b"
red = "#fb4934"
white = "#ebdbb2"
yellow = "#fabd2f"
[colors.primary]
background = "#282828"
bright_foreground = "#eaeaea"
foreground = "#ebdbb2"

View file

@ -0,0 +1,31 @@
[colors]
draw_bold_text_with_bright_colors = false
[colors.cursor]
cursor = "0x333333"
text = "0xffffff"
[colors.bright]
black = "#f9f5d7"
blue = "#076678"
cyan = "#427b58"
green = "#79740e"
magenta = "#8f3f71"
red = "#9d0006"
white = "#282828"
yellow = "#b57614"
[colors.normal]
black = "#fbf1c7"
blue = "#076678"
cyan = "#427b58"
green = "#79740e"
magenta = "#8f3f71"
red = "#9d0006"
white = "#282828"
yellow = "#b57614"
[colors.primary]
background = "#FDFFD7"
bright_foreground = "#282828"
foreground = "#3c3836"