Migrate Alacritty config to TOML

This commit is contained in:
Sam A. 2023-12-28 15:30:50 +01:00
parent 0e310bf973
commit a6bc67f550
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
3 changed files with 64 additions and 58 deletions

View File

@ -0,0 +1,63 @@
[colors]
draw_bold_text_with_bright_colors = false
[colors.primary]
background = "#002b36"
foreground = "#839496"
[colors.bright]
black = "#586e75"
blue = "#839496"
cyan = "#93a1a1"
green = "#586e75"
magenta = "#6c71c4"
red = "#cb4b16"
white = "#fdf6e3"
yellow = "#657b83"
[colors.normal]
black = "#073642"
blue = "#268bd2"
cyan = "#2aa198"
green = "#859900"
magenta = "#d33682"
red = "#dc322f"
white = "#eee8d5"
yellow = "#b58900"
[colors.selection]
background = "CellForeground"
text = "CellBackground"
[colors.cursor]
cursor = "CellForeground"
text = "CellBackground"
[cursor.style]
blinking = "Never"
shape = "Block"
[font]
size = 12
[font.normal]
family = "MesloLGS NF"
[[keyboard.bindings]]
action = "ToggleFullscreen"
key = "F11"
[mouse]
hide_when_typing = true
[scrolling]
history = 10000
[window]
dynamic_title = false
opacity = 0.95
title = "Alacritty"
[window.padding]
x = 4
y = 4

View File

@ -1,57 +0,0 @@
window:
dynamic_title: false
opacity: 0.85
padding:
x: 4
y: 4
title: Alacritty
scrolling:
history: 10000
font:
normal:
family: MesloLGS NF
size: 12
colors:
primary:
background: '#002b36'
foreground: '#839496'
cursor:
text: CellBackground
cursor: CellForeground
selection:
text: CellBackground
background: CellForeground
normal:
black: '#073642' # base02
red: '#dc322f' # red
green: '#859900' # green
yellow: '#b58900' # yellow
blue: '#268bd2' # blue
magenta: '#d33682' # magenta
cyan: '#2aa198' # cyan
white: '#eee8d5' # base2
bright:
black: '#586e75' # base01
red: '#cb4b16' # orange
green: '#586e75' # base01
yellow: '#657b83' # base00
blue: '#839496' # base0
magenta: '#6c71c4' # violet
cyan: '#93a1a1' # base1
white: '#fdf6e3' # base3
cursor:
style:
shape: Block
blinking: Never
mouse:
hide_when_typing: true
draw_bold_text_with_bright_colors: false
key_bindings:
- { key: F11, action: ToggleFullscreen }

View File

@ -37,7 +37,7 @@
}
window#waybar {
background-color: alpha(@base03, 0.85);
background-color: alpha(@base03, 0.95);
transition-property: background-color;
transition-duration: .5s;
}