alacritty: Adapt config file to newest version

This commit is contained in:
2020-01-06 19:59:43 +01:00
parent 5734ac2f74
commit f4ca468dd3
2 changed files with 26 additions and 15 deletions

View File

@@ -82,15 +82,6 @@ scrolling:
# scrollback is enabled (history > 0).
multiplier: 3
# Faux Scrolling
#
# The `faux_multiplier` setting controls the number of lines the terminal
# should scroll when the alternate screen buffer is active. This is used
# to allow mouse scrolling for applications like `man`.
#
# Specifying `0` will disable faux scrolling.
faux_multiplier: 3
# Scroll to the bottom when new text is written to the terminal.
auto_scroll: false
@@ -107,7 +98,14 @@ tabspaces: 4
font:
# Normal (roman) font face
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux) monospace
# - (Windows) Consolas
family: xos4 Terminus
# The `style` can be specified to pick a specific face.
style: Regular
@@ -133,6 +131,17 @@ font:
# The `style` can be specified to pick a specific face.
#style: Italic
# Bold italic font face
#bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
#family: monospace
# The `style` can be specified to pick a specific face.
#style: Bold Italic
# Point size
size: 8.0
@@ -173,7 +182,7 @@ colors:
# Default colors
primary:
background: '0x000000'
foreground: '0xeeeeee'
foreground: '0xff0000'
# Bright and dim foreground colors
#
@@ -203,7 +212,7 @@ colors:
# Normal colors
normal:
black: '0x000000'
red: '0xdd0000'
red: '0xdd5555'
green: '0x11ea11'
yellow: '0xeedd00'
blue: '0x2222ee'
@@ -214,7 +223,7 @@ colors:
# Bright colors
bright:
black: '0x000000'
red: '0xdd0000'
red: '0xdd5555'
green: '0x11ea11'
yellow: '0xeedd00'
blue: '0x2222ee'
@@ -437,11 +446,11 @@ mouse_bindings:
# - `key`: Identifier of the key pressed
#
# - A-Z
# - F1-F12
# - F1-F24
# - Key0-Key9
#
# A full list with available key codes can be found here:
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
#
# Instead of using the name of the keys, the `key` field also supports using
# the scancode of the desired key. Scancodes have to be specified as a
@@ -481,6 +490,7 @@ mouse_bindings:
# - ToggleFullscreen
# - SpawnNewInstance
# - ClearLogNotice
# - ReceiveChar
# - None
#
# (macOS only):