diff --git a/alacritty.yml b/alacritty.yml index ff77fbd..cdbd82b 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -1,78 +1,148 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - # Shell # # 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 # shell. # +# Default: +# - (macOS) /bin/bash --login +# - (Linux/BSD) user login shell +# - (Windows) powershell 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. - -# Live config reload (changes require restart) - live_config_reload: true + program: /bin/zsh +# args: +# - --login +# 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: + # 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 Settings +# 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) + # + # 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: 2 - y: 2 + x: 0 + y: 0 - # Window title - title: Alacritty + # Spread additional padding evenly around the terminal content. + #dynamic_padding: false - # 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: 1.0 # Font configuration font: - # Normal (roman) font face - normal: - family: monospace - style: Regular + # Normal (roman) font face + normal: + # Font family + # + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: monospace - # Bold font face - bold: - family: monospace - style: Bold + # The `style` can be specified to pick a specific face. + #style: Retina - # Italic font face - italic: - family: monospace - style: Italic + # 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: monospace - # Bold italic font face - bold_italic: - family: monospace - style: Bold Italic + # The `style` can be specified to pick a specific face. + #style: Bold - # Point size - size: 11.0 + # 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: monospace - # If `true`, bold text is drawn using the bright color variants. - draw_bold_text_with_bright_colors: true + # The `style` can be specified to pick a specific face. + #style: Italic - # Background opacity - background_opacity: 0.85 + # 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: 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 style - style: + # Cursor style + style: + # Cursor shape + # # Values for `shape`: # - ▇ Block # - _ Underline # - | Beam shape: Beam + # Cursor blinking state # # Values for `blinking`: @@ -81,3 +151,6 @@ cursor: # - On: Enable blinking by default # - Always: Force the cursor to always blink blinking: On + +# Live config reload (changes require restart) +live_config_reload: true