From 2cd9b67766ec1e7a38f7b9845337a9f05c3633bc Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 13 Jul 2021 17:14:12 -0400 Subject: [PATCH] Add alacritty config files --- .config/alacritty/alacritty.yml | 113 ++++++++++++++++++++++++++++++++ .config/alacritty/dracula.yml | 53 +++++++++++++++ 2 files changed, 166 insertions(+) create mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/alacritty/dracula.yml diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..80f04a2 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,113 @@ +# 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 + - ~/.config/alacritty/dracula.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: + padding: + x: 3 + y: 2 + + dynamic_padding: false + decorations: full + + # Startup Mode (changes require restart) + # Values for `startup_mode`: + # - Windowed + # - Maximized + # - Fullscreen + #startup_mode: Windowed + + # Allow terminal applications to change Alacritty's window title. + dynamic_title: true + +#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: + # Font family + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: 'Fira Code' + + # The `style` can be specified to pick a specific face. + #style: Regular + size: 12.0 + +# If `true`, bold text is drawn using the bright color variants. +#draw_bold_text_with_bright_colors: false + +#bell: + # Values for `animation`: + # - Ease + # - EaseOut + # - EaseOutSine + # - EaseOutQuad + # - EaseOutCubic + # - EaseOutQuart + # - EaseOutQuint + # - EaseOutExpo + # - EaseOutCirc + # - Linear + animation: EaseOutExpo + + # Duration of the visual bell flash in milliseconds. A `duration` of `0` will + # disable the visual bell animation. + duration: 0 + + # Visual bell animation color. + #color: '#ffffff' + +# 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. +background_opacity: 0.94 + +mouse: + hide_when_typing: true + +mouse_bindings: + - { mouse: Middle, action: PasteSelection } + +selection: + semantic_escape_chars: ",│`|:\"' ()[]{}<>" + save_to_clipboard: true + +cursor: + # Block, Underline, Beam + style: Beam + +# shell: + # program: + # args: + # - --login + +# alt_send_esc: true + diff --git a/.config/alacritty/dracula.yml b/.config/alacritty/dracula.yml new file mode 100644 index 0000000..e128f82 --- /dev/null +++ b/.config/alacritty/dracula.yml @@ -0,0 +1,53 @@ +colors: + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + search: + matches: + foreground: '0x44475a' + background: '0x50fa7b' + focused_match: + foreground: '0x44475a' + background: '0xffb86c' + bar: + background: '0x282a36' + foreground: '0xf8f8f2' + line_indicator: + foreground: None + background: None + selection: + text: CellForeground + background: '0x44475a' + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbfbfbf' + bright: + black: '0x4d4d4d' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xf4f99d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0x9aedfe' + white: '0xe6e6e6' + dim: + black: '0x14151b' + red: '0xff2222' + green: '0x1ef956' + yellow: '0xebf85b' + blue: '0x4d5b86' + magenta: '0xff46b0' + cyan: '0x59dffc' + white: '0xe6e6d1'