Alacritty Dracula PRO Theme

- Add Dracula PRO theme for alacritty
- Clean-up whitespace in alacritty config
This commit is contained in:
Sravan Balaji
2020-09-29 11:24:20 -04:00
parent 177512376e
commit 030782d66b

View File

@@ -4,117 +4,117 @@
# environment variables. Some entries may override variables # environment variables. Some entries may override variables
# set by alacritty itself. # set by alacritty itself.
#env: #env:
# TERM variable # TERM variable
# #
# This value is used to set the `$TERM` environment variable for # This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will # each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is # check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used. # available, otherwise `xterm-256color` is used.
#TERM: alacritty #TERM: alacritty
window: window:
# Window dimensions (changes require restart) # Window dimensions (changes require restart)
# #
# Specified in number of columns/lines, not pixels. # Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored. # If both are `0`, this setting is ignored.
#dimensions: #dimensions:
# columns: 0 # columns: 0
# lines: 0 # lines: 0
# Window position (changes require restart) # Window position (changes require restart)
# #
# Specified in number of pixels. # Specified in number of pixels.
# If the position is not set, the window manager will handle the placement. # If the position is not set, the window manager will handle the placement.
#position: #position:
# x: 0 # x: 0
# y: 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 # 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. # by DPI and the specified value is always added at both opposing sides.
padding: padding:
x: 5 x: 5
y: 5 y: 5
# Spread additional padding evenly around the terminal content. # Spread additional padding evenly around the terminal content.
#dynamic_padding: false #dynamic_padding: false
# Window decorations # Window decorations
# #
# Values for `decorations`: # Values for `decorations`:
# - full: Borders and title bar # - full: Borders and title bar
# - none: Neither borders nor title bar # - none: Neither borders nor title bar
# #
# Values for `decorations` (macOS only): # Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons # - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background, but no title bar buttons # - buttonless: Title bar, transparent background, but no title bar buttons
#decorations: full #decorations: full
# Startup Mode (changes require restart) # Startup Mode (changes require restart)
# #
# Values for `startup_mode`: # Values for `startup_mode`:
# - Windowed # - Windowed
# - Maximized # - Maximized
# - Fullscreen # - Fullscreen
# #
# Values for `startup_mode` (macOS only): # Values for `startup_mode` (macOS only):
# - SimpleFullscreen # - SimpleFullscreen
#startup_mode: Windowed #startup_mode: Windowed
# Window title # Window title
#title: Alacritty #title: Alacritty
# Window class (Linux/BSD only): # Window class (Linux/BSD only):
# class: # class:
# Application instance name # Application instance name
# instance: Alacritty # instance: Alacritty
# General application class # General application class
# general: Alacritty # general: Alacritty
# GTK theme variant (Linux/BSD only) # GTK theme variant (Linux/BSD only)
# #
# Override the variant of the GTK theme. Commonly supported values are `dark` and `light`. # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
# Set this to `None` to use the default theme variant. # Set this to `None` to use the default theme variant.
#gtk_theme_variant: None #gtk_theme_variant: None
#scrolling: #scrolling:
# Maximum number of lines in the scrollback buffer. # Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling. # Specifying '0' will disable scrolling.
#history: 10000 #history: 10000
# Number of lines the viewport will move for every line scrolled when # Number of lines the viewport will move for every line scrolled when
# scrollback is enabled (history > 0). # scrollback is enabled (history > 0).
#multiplier: 3 #multiplier: 3
# Font configuration # Font configuration
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:
# Font family # Font family
# #
# Default: # Default:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux/BSD) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
family: Fira Code Nerd Font family: Fira Code Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Regular style: Regular
# Bold font face # Bold font face
bold: bold:
# Font family # Font family
# #
# If the bold family is not specified, it will fall back to the # If the bold family is not specified, it will fall back to the
# value specified for the normal font. # value specified for the normal font.
family: Fira Code Nerd Font family: Fira Code Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold style: Bold
# Italic font face # Italic font face
#italic: #italic:
# Font family # Font family
# #
# If the italic family is not specified, it will fall back to the # If the italic family is not specified, it will fall back to the
@@ -124,8 +124,8 @@ 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 face
#bold_italic: #bold_italic:
# Font family # Font family
# #
# If the bold italic family is not specified, it will fall back to the # If the bold italic family is not specified, it will fall back to the
@@ -135,187 +135,231 @@ font:
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
#style: Bold Italic #style: Bold Italic
# Point size # Point size
size: 12.0 size: 12.0
# Offset is the extra space around each character. `offset.y` can be thought of # 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. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
#offset: #offset:
# x: 0 # x: 0
# y: 0 # y: 0
# Glyph offset determines the locations of the glyphs within their cells with # 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, # the default being at the bottom. Increasing `x` moves the glyph to the right,
# increasing `y` moves the glyph upwards. # increasing `y` moves the glyph upwards.
#glyph_offset: #glyph_offset:
# x: 0 # x: 0
# y: 0 # y: 0
# Thin stroke font rendering (macOS only) # Thin stroke font rendering (macOS only)
# #
# Thin strokes are suitable for retina displays, but for non-retina screens # Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false` # it is recommended to set `use_thin_strokes` to `false`
# #
# macOS >= 10.14.x: # macOS >= 10.14.x:
# #
# If the font quality on non-retina display looks bad then set # If the font quality on non-retina display looks bad then set
# `use_thin_strokes` to `true` and enable font smoothing by running the # `use_thin_strokes` to `true` and enable font smoothing by running the
# following command: # following command:
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
# #
# This is a global setting and will require a log out or restart to take # This is a global setting and will require a log out or restart to take
# effect. # effect.
#use_thin_strokes: true #use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false #draw_bold_text_with_bright_colors: false
# Colors (Tomorrow Night Bright) # # Colors (Tomorrow Night Bright)
#colors: # colors:
# Default colors # Default colors
#primary: # primary:
# background: '#000000' # background: '#000000'
# foreground: '#eaeaea' # foreground: '#eaeaea'
# Bright and dim foreground colors # 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: '#9a9a9a'
#bright_foreground: '#ffffff'
# Cursor 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`
# Colors which should be used to draw the terminal cursor. If these are unset, # is `false`, the normal foreground color will be used.
# the cursor color will be the inverse of the cell color. # dim_foreground: '#9a9a9a'
#cursor: # bright_foreground: '#ffffff'
# text: '#000000'
# cursor: '#ffffff'
# Selection colors # Cursor colors
#
# Colors which should be used to draw the selection area. If selection
# background is unset, selection color will be the inverse of the cell colors.
# If only text is unset the cell text color will remain the same.
#selection:
# text: '#eaeaea'
# background: '#404040'
# Normal colors # Colors which should be used to draw the terminal cursor. If these are unset,
#normal: # the cursor color will be the inverse of the cell color.
# black: '#000000' # cursor:
# red: '#d54e53' # text: '#000000'
# green: '#b9ca4a' # cursor: '#ffffff'
# yellow: '#e6c547'
# blue: '#7aa6da'
# magenta: '#c397d8'
# cyan: '#70c0ba'
# white: '#eaeaea'
# Bright colors # Selection colors
#bright:
# black: '#666666'
# red: '#ff3334'
# green: '#9ec400'
# yellow: '#e7c547'
# blue: '#7aa6da'
# magenta: '#b77ee0'
# cyan: '#54ced6'
# white: '#ffffff'
# Dim colors # Colors which should be used to draw the selection area. If selection
# # background is unset, selection color will be the inverse of the cell colors.
# If the dim colors are not set, they will be calculated automatically based # If only text is unset the cell text color will remain the same.
# on the `normal` colors. # selection:
#dim: # text: '#eaeaea'
# black: '#000000' # background: '#404040'
# red: '#8c3336'
# green: '#7a8530'
# yellow: '#97822e'
# blue: '#506d8f'
# magenta: '#80638e'
# cyan: '#497e7a'
# white: '#9a9a9a'
# Indexed Colors # Normal colors
# # normal:
# The indexed colors include all colors from 16 to 256. # black: '#000000'
# When these are not set, they're filled with sensible defaults. # red: '#d54e53'
# # green: '#b9ca4a'
# Example: # yellow: '#e6c547'
# `- { index: 16, color: '#ff00ff' }` # blue: '#7aa6da'
# # magenta: '#c397d8'
#indexed_colors: [] # cyan: '#70c0ba'
# white: '#eaeaea'
# Colors (Dracula) # Bright colors
# bright:
# black: '#666666'
# red: '#ff3334'
# green: '#9ec400'
# yellow: '#e7c547'
# blue: '#7aa6da'
# magenta: '#b77ee0'
# cyan: '#54ced6'
# white: '#ffffff'
# Dim colors
# If the dim colors are not set, they will be calculated automatically based
# on the `normal` colors.
# dim:
# black: '#000000'
# red: '#8c3336'
# green: '#7a8530'
# yellow: '#97822e'
# blue: '#506d8f'
# magenta: '#80638e'
# cyan: '#497e7a'
# white: '#9a9a9a'
# # 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"
# Colors (Dracula PRO)
colors: colors:
# Default colors # Default colors
primary: primary:
background: '0x282a36' background: "0x22212c"
foreground: '0xf8f8f2' foreground: "0xf8f8f2"
# Bright and dim foreground colors # 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
# #
# The dimmed foreground color is calculated automatically if it is not present. # Colors which should be used to draw the terminal cursor. If these are unset,
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors` # the cursor color will be the inverse of the cell color.
# is `false`, the normal foreground color will be used. cursor:
#dim_foreground: '0x9a9a9a' text: "0x454158"
#bright_foreground: '0xffffff' cursor: "0xf8f8f2"
# Cursor colors # Selection colors
# #
# Colors which should be used to draw the terminal cursor. If these are unset, # Colors which should be used to draw the selection area. If selection
# the cursor color will be the inverse of the cell color. # background is unset, selection color will be the inverse of the cell colors.
cursor: # If only text is unset the cell text color will remain the same.
text: '0x44475a' selection:
cursor: '0xf8f8f2' text: "0xf8f8f2"
background: "0x454158"
# Normal colors # Normal colors
normal: normal:
black: '0x000000' black: "0x22212c"
red: '0xff5555' red: "0xff9580"
green: '0x50fa7b' green: "0x8aff80"
yellow: '0xf1fa8c' yellow: "0xffff80"
blue: '0xbd93f9' blue: "0x9580ff"
magenta: '0xff79c6' magenta: "0xff80bf"
cyan: '0x8be9fd' cyan: "0x80ffea"
white: '0xbfbfbf' white: "0xf8f8f2"
# Bright colors # Bright colors
bright: bright:
black: '0x4d4d4d' black: "0x22212c"
red: '0xff6e67' red: "0xffaa99"
green: '0x5af78e' green: "0xa2ff99"
yellow: '0xf4f99d' yellow: "0xffff99"
blue: '0xcaa9fa' blue: "0xaa99ff"
magenta: '0xff92d0' magenta: "0xff99cc"
cyan: '0x9aedfe' cyan: "0x99ffee"
white: '0xe6e6e6' white: "0xffffff"
# Dim colors # Indexed Colors
# #
# If the dim colors are not set, they will be calculated automatically based # The indexed colors include all colors from 16 to 256.
# on the `normal` colors. # When these are not set, they're filled with sensible defaults.
dim: #
black: '0x14151b' # Example:
red: '0xff2222' # `- { index: 16, color: '0xff00ff' }`
green: '0x1ef956' #
yellow: '0xebf85b' indexed_colors: []
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: []
# Visual Bell # Visual Bell
# #
@@ -350,26 +394,26 @@ colors:
background_opacity: 0.9 background_opacity: 0.9
#selection: #selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard. # When set to `true`, selected text will be copied to the primary clipboard.
#save_to_clipboard: false #save_to_clipboard: false
# Allow terminal applications to change Alacritty's window title. # Allow terminal applications to change Alacritty's window title.
#dynamic_title: true #dynamic_title: true
cursor: cursor:
# Cursor style # Cursor style
# #
# Values for `style`: # Values for `style`:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
style: Beam style: Beam
# If this is `true`, the cursor will be rendered as a hollow box when the # If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused. # window is not focused.
#unfocused_hollow: true #unfocused_hollow: true
# Live config reload (changes require restart) # Live config reload (changes require restart)
#live_config_reload: true #live_config_reload: true
@@ -384,11 +428,11 @@ cursor:
# - (Linux/BSD) user login shell # - (Linux/BSD) user login shell
# - (Windows) powershell # - (Windows) powershell
shell: shell:
program: /usr/bin/fish program: /usr/bin/fish
# args: # args:
# - -l # - -l
# - -c # - -c
# - "tmux attach || tmux" # - "tmux attach || tmux"
# Startup directory # Startup directory
# #
@@ -410,39 +454,38 @@ shell:
#alt_send_esc: true #alt_send_esc: true
mouse: mouse:
# Click settings # Click settings
#
# The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double
# or triple click.
#double_click: { threshold: 300 }
#triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing.
#hide_when_typing: false
url:
# URL launcher
# #
# This program is executed when clicking on a text which is recognized as a URL. # The `double_click` and `triple_click` settings control the time
# The URL is always added to the command as the last parameter. # alacritty should wait for accepting multiple clicks as one double
# # or triple click.
# When set to `None`, URL launching will be disabled completely. #double_click: { threshold: 300 }
# #triple_click: { threshold: 300 }
# Default:
# - (macOS) open
# - (Linux/BSD) xdg-open
# - (Windows) explorer
launcher:
program: xdg-open
# args: []
# URL modifiers # If this is `true`, the cursor is temporarily hidden when typing.
# #hide_when_typing: false
# These are the modifiers that need to be held down for opening URLs when clicking
# on them. The available modifiers are documented in the key binding section.
#modifiers: None
url:
# URL launcher
#
# This program is executed when clicking on a text which is recognized as a URL.
# The URL is always added to the command as the last parameter.
#
# When set to `None`, URL launching will be disabled completely.
#
# Default:
# - (macOS) open
# - (Linux/BSD) xdg-open
# - (Windows) explorer
launcher:
program: xdg-open
# args: []
# URL modifiers
#
# These are the modifiers that need to be held down for opening URLs when clicking
# on them. The available modifiers are documented in the key binding section.
#modifiers: None
# Mouse bindings # Mouse bindings
# #
# Mouse bindings are specified as a list of objects, much like the key # Mouse bindings are specified as a list of objects, much like the key
@@ -572,60 +615,60 @@ mouse:
# If the same trigger is assigned to multiple actions, all of them are executed # If the same trigger is assigned to multiple actions, all of them are executed
# at once. # at once.
#key_bindings: #key_bindings:
# (Windows, Linux, and BSD only) # (Windows, Linux, and BSD only)
#- { key: V, mods: Control|Shift, action: Paste } #- { key: V, mods: Control|Shift, action: Paste }
#- { key: C, mods: Control|Shift, action: Copy } #- { key: C, mods: Control|Shift, action: Copy }
#- { key: Insert, mods: Shift, action: PasteSelection } #- { key: Insert, mods: Shift, action: PasteSelection }
#- { key: Key0, mods: Control, action: ResetFontSize } #- { key: Key0, mods: Control, action: ResetFontSize }
#- { key: Equals, mods: Control, action: IncreaseFontSize } #- { key: Equals, mods: Control, action: IncreaseFontSize }
#- { key: Add, mods: Control, action: IncreaseFontSize } #- { key: Add, mods: Control, action: IncreaseFontSize }
#- { key: Subtract, mods: Control, action: DecreaseFontSize } #- { key: Subtract, mods: Control, action: DecreaseFontSize }
#- { key: Minus, mods: Control, action: DecreaseFontSize } #- { key: Minus, mods: Control, action: DecreaseFontSize }
# (Windows only) # (Windows only)
#- { key: Return, mods: Alt, action: ToggleFullscreen } #- { key: Return, mods: Alt, action: ToggleFullscreen }
# (macOS only) # (macOS only)
#- { key: Key0, mods: Command, action: ResetFontSize } #- { key: Key0, mods: Command, action: ResetFontSize }
#- { key: Equals, mods: Command, action: IncreaseFontSize } #- { key: Equals, mods: Command, action: IncreaseFontSize }
#- { key: Add, mods: Command, action: IncreaseFontSize } #- { key: Add, mods: Command, action: IncreaseFontSize }
#- { key: Minus, mods: Command, action: DecreaseFontSize } #- { key: Minus, mods: Command, action: DecreaseFontSize }
#- { key: K, mods: Command, action: ClearHistory } #- { key: K, mods: Command, action: ClearHistory }
#- { key: K, mods: Command, chars: "\x0c" } #- { key: K, mods: Command, chars: "\x0c" }
#- { key: V, mods: Command, action: Paste } #- { key: V, mods: Command, action: Paste }
#- { key: C, mods: Command, action: Copy } #- { key: C, mods: Command, action: Copy }
#- { key: H, mods: Command, action: Hide } #- { key: H, mods: Command, action: Hide }
#- { key: M, mods: Command, action: Minimize } #- { key: M, mods: Command, action: Minimize }
#- { key: Q, mods: Command, action: Quit } #- { key: Q, mods: Command, action: Quit }
#- { key: W, mods: Command, action: Quit } #- { key: W, mods: Command, action: Quit }
#- { key: F, mods: Command|Control, action: ToggleFullscreen } #- { key: F, mods: Command|Control, action: ToggleFullscreen }
#- { key: Paste, action: Paste } #- { key: Paste, action: Paste }
#- { key: Copy, action: Copy } #- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice } #- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, chars: "\x0c" } #- { key: L, mods: Control, chars: "\x0c" }
#- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt } #- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt }
#- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt } #- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt }
#- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt } #- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
#- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt } #- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
#debug: #debug:
# Display the time it takes to redraw each frame. # Display the time it takes to redraw each frame.
#render_timer: false #render_timer: false
# Keep the log file after quitting Alacritty. # Keep the log file after quitting Alacritty.
#persistent_logging: false #persistent_logging: false
# Log level # Log level
# #
# Values for `log_level`: # Values for `log_level`:
# - None # - None
# - Error # - Error
# - Warn # - Warn
# - Info # - Info
# - Debug # - Debug
# - Trace # - Trace
#log_level: Warn #log_level: Warn
# Print all received window events. # Print all received window events.
#print_events: false #print_events: false