Migrate alactty config

This commit is contained in:
Ethan Lane 2024-07-07 21:48:00 +01:00
parent 763f7be1a7
commit b59aea932d
3 changed files with 78 additions and 56 deletions

View file

@ -0,0 +1,77 @@
[colors]
draw_bold_text_with_bright_colors = true
[env]
TERM = "xterm-256color"
[font]
size = 11.0
[font.bold]
family = "Hack"
style = "Bold"
[font.bold_italic]
family = "Hack"
style = "Bold Italic"
[font.italic]
family = "Hack"
style = "Italic"
[font.normal]
family = "Hack"
style = "Regular"
[font.offset]
x = 0
y = 1
[[keyboard.bindings]]
action = "Paste"
key = "V"
mods = "Control|Shift"
[[keyboard.bindings]]
action = "Copy"
key = "C"
mods = "Control|Shift"
[[keyboard.bindings]]
action = "ScrollPageUp"
key = "PageUp"
mods = "Shift"
[[keyboard.bindings]]
action = "ScrollPageDown"
key = "PageDown"
mods = "Shift"
[[keyboard.bindings]]
action = "ScrollToTop"
key = "Home"
mods = "Shift"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "End"
mods = "Shift"
[scrolling]
history = 5000
[window]
opacity = 1
title = "Alacritty"
[window.class]
general = "Alacritty"
instance = "Alacritty"
[window.dimensions]
columns = 133
lines = 40
[window.padding]
x = 6
y = 6

View file

@ -1,55 +0,0 @@
env:
TERM: xterm-256color
window:
dimensions:
columns: 133
lines: 40
padding:
x: 6
y: 6
title: Alacritty
class:
instance: Alacritty
general: Alacritty
opacity: 1
scrolling:
history: 5000
font:
normal:
family: Hack
style: Regular
bold:
family: Hack
style: Bold
italic:
family: Hack
style: Italic
bold_italic:
family: Hack
style: Bold Italic
size: 11.0
offset:
x: 0
y: 1
draw_bold_text_with_bright_colors: true
key_bindings:
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
- { key: PageUp, mods: Shift, action: ScrollPageUp }
- { key: PageDown, mods: Shift, action: ScrollPageDown }
- { key: Home, mods: Shift, action: ScrollToTop }
- { key: End, mods: Shift, action: ScrollToBottom }

View file

@ -1,3 +1,3 @@
{ {
home.file."/home/vylpes/.config/alacritty/alacritty.yml".source = ./alacritty.yml; home.file."/home/vylpes/.config/alacritty/alacritty.toml".source = ./alacritty.toml;
} }