Migrate alacritty's config file

This commit is contained in:
Alexander Hess 2024-01-11 03:53:16 +01:00
parent bb200dd055
commit c4e16151b4
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
2 changed files with 56 additions and 88 deletions

View file

@ -0,0 +1,56 @@
[colors]
draw_bold_text_with_bright_colors = true
[cursor]
blink_interval = 500
thickness = 0.1
unfocused_hollow = true
[cursor.style]
blinking = "On"
shape = "Block"
[font]
size = 12.0
[font.bold]
family = "FiraCode Nerd Font"
style = "Bold"
[font.bold_italic]
family = "FiraCode Nerd Font"
style = "Semibold"
[font.italic]
family = "FiraCode Nerd Font"
style = "Light"
[font.normal]
family = "FiraCode Nerd Font"
style = "Regular"
[font.offset]
x = 0
y = 0
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "Return"
mods = "Control|Shift"
[scrolling]
history = 9999
multiplier = 10
[shell]
args = ["-l"]
program = "/usr/bin/zsh"
[window]
decorations = "none"
dynamic_padding = true
opacity = 0.95
[window.padding]
x = 10
y = 10

View file

@ -1,88 +0,0 @@
# Source: https://github.com/alacritty/alacritty/blob/master/alacritty.yml
window:
# Blank space added around the window in pixels
padding:
x: 10
y: 10
# Spread additional padding evenly around the terminal content
dynamic_padding: true
# Neither borders nor title bar
decorations: none
# Background opacity (0.0 -> completely transparent; 1.0 -> opaque)
opacity: 0.95
scrolling:
# Number of lines in the scrollback buffer (0 -> disable scrolling)
history: 9999
# Scrolling distance multiplier
multiplier: 10
font:
normal:
family: FiraCode Nerd Font
style: Regular
bold:
family: FiraCode Nerd Font
style: Bold
italic:
family: FiraCode Nerd Font
style: Light
bold_italic:
family: FiraCode Nerd Font
style: Semibold
size: 12.0
offset:
x: 0 # letter spacing
y: 0 # line spacing
draw_bold_text_with_bright_colors: true
cursor:
style:
# ▇ (Block) vs. _ (Underline) vs. | (Beam)
shape: Block
blinking: On
blink_interval: 500 # in ms
unfocused_hollow: true # when window not focused
thickness: 0.1 # between 0.0 and 1.0
shell:
program: /usr/bin/zsh
args:
- -l # --login
key_bindings:
# Open a new terminal in the same folder
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }