alacritty: migrate from yaml to toml

This commit is contained in:
thek4n 2024-01-01 23:38:03 +03:00
parent 20bc46167d
commit bd3a726345
2 changed files with 31 additions and 43 deletions

View File

@ -0,0 +1,31 @@
live_config_reload = true
[env]
TERM = "xterm-256color"
WINIT_X11_SCALE_FACTOR = "1"
[font]
size = 11
[font.normal]
family = "FiraCode Nerd Font Mono"
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "Return"
mods = "Control|Shift"
[mouse]
hide_when_typing = true
[scrolling]
history = 100000
multiplier = 3
[window]
dynamic_title = true
opacity = 0.83
[window.dimensions]
columns = 150
lines = 42

View File

@ -1,43 +0,0 @@
window:
dynamic_title: true
dimensions:
columns: 150
lines: 42
opacity: 0.83
transparent_background_colors: true
mouse:
hide_when_typing: true
double_click: { threshold: 300 }
triple_click: { threshold: 300 }
hints:
# URL launcher
#
# This program is executed when clicking on a text which is recognized as a URL.
# The URL is always added to the command as the last parameter.
launcher: open
# URL modifiers
#
# These are the modifiers that need to be held down for opening URLs when clicking
# on them. The available modifiers are documented in the key binding section.
modifiers: Shift
scrolling:
history: 100000
multiplier: 3
env:
TERM: xterm-256color
WINIT_X11_SCALE_FACTOR: "1"
key_bindings:
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
live_config_reload: true
dynamic_title: true
font:
normal:
family: FiraCode Nerd Font Mono
size: 11