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). # scrollback is enabled (history > 0).
multiplier: 3 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. # Scroll to the bottom when new text is written to the terminal.
auto_scroll: false auto_scroll: false
@@ -107,7 +98,14 @@ tabspaces: 4
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux) monospace
# - (Windows) Consolas
family: xos4 Terminus family: xos4 Terminus
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Regular style: Regular
@@ -133,6 +131,17 @@ font:
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
#style: Italic #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 # Point size
size: 8.0 size: 8.0
@@ -173,7 +182,7 @@ colors:
# Default colors # Default colors
primary: primary:
background: '0x000000' background: '0x000000'
foreground: '0xeeeeee' foreground: '0xff0000'
# Bright and dim foreground colors # Bright and dim foreground colors
# #
@@ -203,7 +212,7 @@ colors:
# Normal colors # Normal colors
normal: normal:
black: '0x000000' black: '0x000000'
red: '0xdd0000' red: '0xdd5555'
green: '0x11ea11' green: '0x11ea11'
yellow: '0xeedd00' yellow: '0xeedd00'
blue: '0x2222ee' blue: '0x2222ee'
@@ -214,7 +223,7 @@ colors:
# Bright colors # Bright colors
bright: bright:
black: '0x000000' black: '0x000000'
red: '0xdd0000' red: '0xdd5555'
green: '0x11ea11' green: '0x11ea11'
yellow: '0xeedd00' yellow: '0xeedd00'
blue: '0x2222ee' blue: '0x2222ee'
@@ -437,11 +446,11 @@ mouse_bindings:
# - `key`: Identifier of the key pressed # - `key`: Identifier of the key pressed
# #
# - A-Z # - A-Z
# - F1-F12 # - F1-F24
# - Key0-Key9 # - Key0-Key9
# #
# A full list with available key codes can be found here: # 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 # 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 # the scancode of the desired key. Scancodes have to be specified as a
@@ -481,6 +490,7 @@ mouse_bindings:
# - ToggleFullscreen # - ToggleFullscreen
# - SpawnNewInstance # - SpawnNewInstance
# - ClearLogNotice # - ClearLogNotice
# - ReceiveChar
# - None # - None
# #
# (macOS only): # (macOS only):

View File

@@ -11,7 +11,8 @@
set $mod Mod4 set $mod Mod4
set $main_color #11ea11 #set $main_color #11ea11
set $main_color #ff0000
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.