Update alacritty.yml

This commit is contained in:
Cameron Miller 2021-10-25 14:57:53 +00:00
parent d13a0cb3c7
commit f22096d2d6

View File

@ -1,78 +1,148 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Shell # Shell
# #
# You can set `shell.program` to the path of your favorite shell, e.g. # You can set `shell.program` to the path of your favorite shell, e.g.
# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the # `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
# shell. # shell.
# #
# Default:
# - (macOS) /bin/bash --login
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell: shell:
program: /usr/bin/zsh # Change this depending on where Zsh installed to, which zsh should give you a readout of where zsh is installed to. program: /bin/zsh
# args:
# Live config reload (changes require restart) # - --login
live_config_reload: true
# Environment Variables
#
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env: 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: alacritty TERM: alacritty
# Window Settings
#
window: window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size.
#dimensions:Fira Code
# columns: 0
# lines: 0
# Window position (changes require restart)
#
# Specified in number of pixels.
# If the position is not set, the window manager will handle the placement.
#position:
# x: 0
# y: 0
# Window padding (changes require restart) # 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: padding:
x: 2 x: 0
y: 2 y: 0
# Window title # Spread additional padding evenly around the terminal content.
title: Alacritty #dynamic_padding: false
# Allow terminal applications to change Alacritty's window title. # Background opacity
dynamic_title: true #
# Window opacity as a floating point number from `0.0` to `1.0`.
# Window class (Linux/BSD only): # The value `0.0` is completely transparent and `1.0` is opaque.
class: opacity: 1.0
# Application instance name
instance: Alacritty
# General application class
general: Alacritty
# Font configuration # Font configuration
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:
family: monospace # Font family
style: Regular #
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: monospace
# Bold font face # The `style` can be specified to pick a specific face.
bold: #style: Retina
family: monospace
style: Bold
# Italic font face # Bold font face
italic: #bold:
family: monospace # Font family
style: Italic #
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
#family: monospace
# Bold italic font face # The `style` can be specified to pick a specific face.
bold_italic: #style: Bold
family: monospace
style: Bold Italic
# Point size # Italic font face
size: 11.0 #italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
#family: monospace
# If `true`, bold text is drawn using the bright color variants. # The `style` can be specified to pick a specific face.
draw_bold_text_with_bright_colors: true #style: Italic
# Background opacity # Bold italic font face
background_opacity: 0.85 #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: 11
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
# spacing.
#offset:
# x: 0
# y: 0
# Glyph offset determines the locations of the glyphs within their cells with
# the default being at the bottom. Increasing `x` moves the glyph to the
# right, increasing `y` moves the glyph upward.
# glyph_offset:
# x: 0
# y: 0
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
cursor: cursor:
# Cursor style # Cursor style
style: style:
# Cursor shape
#
# Values for `shape`: # Values for `shape`:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
shape: Beam shape: Beam
# Cursor blinking state # Cursor blinking state
# #
# Values for `blinking`: # Values for `blinking`:
@ -81,3 +151,6 @@ cursor:
# - On: Enable blinking by default # - On: Enable blinking by default
# - Always: Force the cursor to always blink # - Always: Force the cursor to always blink
blinking: On blinking: On
# Live config reload (changes require restart)
live_config_reload: true