174 lines
3.9 KiB
YAML
174 lines
3.9 KiB
YAML
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|
env:
|
|
# TERM variable
|
|
# This value is used to set the `$TERM` environment variable for
|
|
# each instance of Alacritty. If it is not present, alacritty will
|
|
# check the local terminfo database and use `alacritty` if it is
|
|
# available, otherwise `xterm-256color` is used.
|
|
TERM: xterm-256color
|
|
|
|
window:
|
|
# Window padding (changes require restart)
|
|
#
|
|
# Blank space added around the window in pixels. This padding is scaled
|
|
# by DPI and the specified value is always added at both opposing sides.
|
|
padding:
|
|
x: 8
|
|
y: 8
|
|
|
|
# Window decorations
|
|
#
|
|
# Values for `decorations`:
|
|
# - full: Borders and title bar
|
|
# - none: Neither borders nor title bar
|
|
#
|
|
decorations: full
|
|
|
|
# Startup Mode (changes require restart)
|
|
#
|
|
# Values for `startup_mode`:
|
|
# - Windowed
|
|
# - Maximized
|
|
# - Fullscreen
|
|
#
|
|
startup_mode: Maximized
|
|
|
|
# Window title
|
|
title: Alacritty
|
|
|
|
# Allow terminal applications to change Alacritty's window title.
|
|
dynamic_title: true
|
|
|
|
# Window class (Linux/BSD only):
|
|
class:
|
|
# Application instance name
|
|
instance: Alacritty
|
|
# General application class
|
|
general: Alacritty
|
|
|
|
# Background opacity
|
|
#
|
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
|
opacity: 0.92
|
|
|
|
|
|
#scrolling:
|
|
# Maximum number of lines in the scrollback buffer.
|
|
# Specifying '0' will disable scrolling.
|
|
history: 10000
|
|
|
|
# Scrolling distance multiplier.
|
|
multiplier: 3
|
|
|
|
# Font configuration
|
|
font:
|
|
# Normal (roman) font face
|
|
normal:
|
|
family: Go Mono Nerd Font
|
|
style: Regular
|
|
|
|
# Bold font face
|
|
bold:
|
|
family: Go Mono Nerd Font
|
|
style: Bold
|
|
|
|
# Italic font face
|
|
italic:
|
|
family: Go Mono Nerd Font
|
|
style: Italic
|
|
|
|
# Bold italic font face
|
|
bold_italic:
|
|
family: Go Mono Nerd Font
|
|
style: Bold Italic
|
|
|
|
size: 9.0
|
|
|
|
# Colors (Dracula)
|
|
colors:
|
|
# Default colors
|
|
primary:
|
|
background: '0x282a36'
|
|
foreground: '0xf8f8f2'
|
|
|
|
# Bright and dim foreground colors
|
|
#
|
|
# The dimmed foreground color is calculated automatically if it is not present.
|
|
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
|
|
# is `false`, the normal foreground color will be used.
|
|
#dim_foreground: '0x9a9a9a'
|
|
#bright_foreground: '0xffffff'
|
|
|
|
# Cursor colors
|
|
#
|
|
# Colors which should be used to draw the terminal cursor. If these are unset,
|
|
# the cursor color will be the inverse of the cell color.
|
|
cursor:
|
|
text: '0x44475a'
|
|
cursor: '0xf8f8f2'
|
|
|
|
# Normal colors
|
|
normal:
|
|
black: '0x000000'
|
|
red: '0xff5555'
|
|
green: '0x50fa7b'
|
|
yellow: '0xf1fa8c'
|
|
blue: '0xbd93f9'
|
|
magenta: '0xff79c6'
|
|
cyan: '0x8be9fd'
|
|
white: '0xbfbfbf'
|
|
|
|
# Bright colors
|
|
bright:
|
|
black: '0x4d4d4d'
|
|
red: '0xff6e67'
|
|
green: '0x5af78e'
|
|
yellow: '0xf4f99d'
|
|
blue: '0xcaa9fa'
|
|
magenta: '0xff92d0'
|
|
cyan: '0x9aedfe'
|
|
white: '0xe6e6e6'
|
|
|
|
# Dim colors
|
|
#
|
|
# If the dim colors are not set, they will be calculated automatically based
|
|
# on the `normal` colors.
|
|
dim:
|
|
black: '0x14151b'
|
|
red: '0xff2222'
|
|
green: '0x1ef956'
|
|
yellow: '0xebf85b'
|
|
blue: '0x4d5b86'
|
|
magenta: '0xff46b0'
|
|
cyan: '0x59dffc'
|
|
white: '0xe6e6d1'
|
|
|
|
# Indexed Colors
|
|
#
|
|
# The indexed colors include all colors from 16 to 256.
|
|
# When these are not set, they're filled with sensible defaults.
|
|
#
|
|
# Example:
|
|
# `- { index: 16, color: '0xff00ff' }`
|
|
#
|
|
indexed_colors: []
|
|
|
|
cursor:
|
|
# Cursor style
|
|
#
|
|
# Values for `style`:
|
|
# - ▇ Block
|
|
# - _ Underline
|
|
# - | Beam
|
|
style: Block
|
|
|
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
|
# window is not focused.
|
|
unfocused_hollow: true
|
|
|
|
mouse:
|
|
# If this is `true`, the cursor is temporarily hidden when typing.
|
|
hide_when_typing: true
|
|
|