Skip to content

Instantly share code, notes, and snippets.

@mbaneshi
Created June 19, 2023 21:42
Show Gist options
  • Save mbaneshi/413177d63e7bbeb86c92232a5f2e93f9 to your computer and use it in GitHub Desktop.
Save mbaneshi/413177d63e7bbeb86c92232a5f2e93f9 to your computer and use it in GitHub Desktop.
alacrity conf
import:
# uncomment the flavour you want below:
# - ~/.config/alacritty/catppuccin/catppuccin-mocha.yml
# - ~/.config/alacritty/catppuccin/catppuccin-macchiato.yml
#- ~/.config/alacritty/catppuccin/catppuccin-frappe.yml
# - ~/.config/alacritty/catppuccin/catppuccin-latte.yml
- ~/.config/alacritty/tokyo-night/zatchheems-tokyo-night-alacritty-theme.yml
#
#this is comment
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
# file being loaded last. If a field is already present in a previous import, it
# will be replaced.
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
#import:
# - /path/to/alacritty.yml
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#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
window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. Both lines and columns
# must be non-zero for this to take effect. 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:
columns: 250
lines: 100
# 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: 30
y: 30
# 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: 30
y: 30
# Spread additional padding evenly around the terminal content.
# dynamic_padding: true
# Window decorations
#
# Values for `decorations`:
# - full: Borders and title bar
# - none: Neither borders nor title bar
#
# Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background and no title bar buttons
decorations: transparent
# 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.95
# Startup Mode (changes require restart)
#
# Values for `startup_mode`:
# - Windowed
# - Maximized
# - Fullscreen
#
# Values for `startup_mode` (macOS only):
# - SimpleFullscreen
startup_mode: SimpleFullscreen
# 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
# Decorations theme variant
#
# Override the variant of the System theme/GTK theme/Wayland client side
# decorations. Commonly supported values are `Dark`, `Light`, and `None` for
# auto pick-up. Set this to `None` to use the default theme variant.
decorations_theme_variant: None
# Resize increments
#
# Prefer resizing window by discrete steps equal to cell dimensions.
#resize_increments: false
# Make `Option` key behave as `Alt` (macOS only):
# - OnlyLeft
# - OnlyRight
# - Both
# - None (default)
option_as_alt: OnlyLeft
#scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
history: 10000
# Scrolling distance multiplier.
multiplier: 5
# Font configuration
font:
# Normal (roman) font face
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: Hack Nerd Font Mono
# The `style` can be specified to pick a specific face.
#style: Regular
# Bold font face
bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
family: Hack Nerd Font Mono
# The `style` can be specified to pick a specific face.
#style: Bold
# Italic font face
italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family: Hack Nerd Font Mono
# 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: Hack Nerd Font Mono
# The `style` can be specified to pick a specific face.
#style: Bold Italic
# Point size
size: 21.0
# 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: 3
y: 3
# 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: 1
y: 1
# Use built-in font for box drawing characters.
#
# If `true`, Alacritty will use a custom built-in font for box drawing
# characters (Unicode points 2500 - 259f).
#
builtin_box_drawing: true
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
#
# # Colors (Tomorrow Night)
# colors:
# # Default colors
# primary:
# # background: "#1d1f21"
# #background: "#191970"
# background: "#1c2541"
#
# #background: "#CDB4DB"
# #b036666
# #fackground: "#CDB4DB"
# #036666
# foreground: "#c5c8c6"
#
# # 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: "#828482"
# bright_foreground: "#eaeaea"
#
# # Cursor colors
# #
# # Colors which should be used to draw the terminal cursor.
# #
# # Allowed values are CellForeground/CellBackground, which reference the
# # affected cell, or hexadecimal colors like #ff00ff.
# cursor:
# text: CellBackground
# cursor: CellForeground
#
# # Vi mode cursor colors
# #
# # Colors for the cursor when the vi mode is active.
# #
# # Allowed values are CellForeground/CellBackground, which reference the
# # affected cell, or hexadecimal colors like #ff00ff.
# vi_mode_cursor:
# text: CellBackground
# cursor: CellForeground
#
# # Search colors
# #
# # Colors used for the search bar and match highlighting.
# search:
# # Allowed values are CellForeground/CellBackground, which reference the
# # affected cell, or hexadecimal colors like #ff00ff.
# matches:
# foreground: "#000000"
# background: "#ffffff"
# focused_match:
# foreground: "#ffffff"
# background: "#000000"
#
# # Keyboard hints
# hints:
# # First character in the hint label
# #
# # Allowed values are CellForeground/CellBackground, which reference the
# # affected cell, or hexadecimal colors like #ff00ff.
# start:
# foreground: "#1d1f21"
# background: "#e9ff5e"
#
# # All characters after the first one in the hint label
# #
# # Allowed values are CellForeground/CellBackground, which reference the
# # affected cell, or hexadecimal colors like #ff00ff.
# end:
# foreground: "#e9ff5e"
# background: "#1d1f21"
#
# # Line indicator
# #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment