dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 422cc2570188b76a571a6cb8f0e540246607c8ab
parent 5badae5f90d1705b9daeebf9f881d7fcb4b3d6fe
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon,  8 Mar 2021 14:49:52 +0100

Alacritty config

Diffstat:
Aalacritty/alacritty.yml | 136+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aalacritty/macos-altfix.yml | 127+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mdot.map | 1+
3 files changed, 264 insertions(+), 0 deletions(-)

diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml @@ -0,0 +1,136 @@ +# All imports must either be absolute paths starting with `/`, or paths relative +# to the user's home directory starting with `~/`. +import: + - ~/.config/alacritty/macos-altfix.yml + +# Any items in the `env` entry below will be added as +# environment variables. Some entries may override variables +# set by alacritty itself. +window: + # Window padding (changes require restart) + padding: + x: 5 + y: 5 + + # Spread additional padding evenly around the terminal content. + dynamic_padding: true + + decorations: buttonless + + # 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 + +#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 (roman) font face + normal: + # Font family + # + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: MesloLGS NF + + # The `style` can be specified to pick a specific face. + + # Bold font face + bold: + style: Bold + + # Italic font face + italic: + style: Italic + + # Bold italic font face + bold_italic: + style: Bold Italic + + # Point size + size: 12.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: 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 + + # Thin stroke font rendering (macOS only) + # + # Thin strokes are suitable for retina displays, but for non-retina screens + # it is recommended to set `use_thin_strokes` to `false`. + use_thin_strokes: false + +# 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.7 + +cursor: + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + unfocused_hollow: true + +# Live config reload (changes require restart) +live_config_reload: true + +mouse: + url: + launcher: + program: open + args: [] + modifiers: Command + +# BEGIN ACE +colors: + primary: + background: '#f9f4f5' + foreground: '#181924' + cursor: + text: '#f9f4f5' + cursor: '#181924' + normal: + black: '#f9f4f5' + red: '#1647c9' + green: '#1930e2' + yellow: '#1d3fe6' + blue: '#9a24e6' + magenta: '#3559e8' + cyan: '#4b4bea' + white: '#181924' + bright: + black: '#847071' + red: '#1647c9' + green: '#1930e2' + yellow: '#1d3fe6' + blue: '#9a24e6' + magenta: '#3559e8' + cyan: '#4b4bea' + white: '#181924' +# END ACE diff --git a/alacritty/macos-altfix.yml b/alacritty/macos-altfix.yml @@ -0,0 +1,127 @@ +key_bindings: + - { key: N, mods: Command, action: SpawnNewInstance } + - { key: PageUp, action: ScrollPageUp } + - { key: PageUp, mode: Alt, chars: "\x1B[5~" } + - { key: PageUp, mods: Shift, chars: "\x1B[5~" } + - { key: PageDown, action: ScrollPageDown } + - { key: PageDown, mode: Alt, chars: "\x1B[6~" } + - { key: PageDown, mods: Shift, chars: "\x1B[6~" } + - { key: Home, action: ScrollToTop } + - { key: Home, mode: Alt, chars: "\x1BOH" } + - { key: Home, mods: Shift, chars: "\x1B[H" } + - { key: End, action: ScrollToBottom } + - { key: End, mode: Alt, chars: "\x1BOF" } + - { key: End, mods: Shift, chars: "\x1B[F" } + - { key: Tab, mods: Alt, chars: "\x1B\t" } + - { key: Tab, mods: Alt|Shift, chars: "\x1B\x1B[Z" } + - { key: Back, chars: "\x7F" } + - { key: Back, mods: Alt, chars: "\x1B\x7F" } + - { key: Back, mods: Alt|Shift, chars: "\x1B\x08" } + - { key: Space, mods: Control, chars: "\x00" } + - { key: Space, mods: Alt, chars: "\x20" } + - { key: Left, mods: Alt, chars: "\x1Bb" } + - { key: Left, mods: Alt|Shift, chars: "\x1B\x1B[D" } + - { key: Right, mods: Alt, chars: "\x1Bf" } + - { key: Right, mods: Alt|Shift, chars: "\x1B\x1B[C" } + - { key: Down, mods: Alt, chars: "\x1B\x1B[B" } + - { key: Down, mods: Alt|Shift, chars: "\x1B\x1B[B" } + - { key: Up, mods: Alt, chars: "\x1B\x1B[A" } + - { key: Up, mods: Alt|Shift, chars: "\x1B\x1B[A" } + - { key: A, mods: Alt, chars: "\x1Ba" } + - { key: A, mods: Alt|Shift, chars: "\x1BA" } + - { key: B, mods: Alt, chars: "\x1Bb" } + - { key: B, mods: Alt|Shift, chars: "\x1BB" } + - { key: C, mods: Alt, chars: "\x1Bc" } + - { key: C, mods: Alt|Shift, chars: "\x1BC" } + - { key: D, mods: Alt, chars: "\x1Bd" } + - { key: D, mods: Alt|Shift, chars: "\x1BD" } + - { key: E, mods: Alt, chars: "\x1Be" } + - { key: E, mods: Alt|Shift, chars: "\x1BE" } + - { key: F, mods: Alt, chars: "\x1Bf" } + - { key: F, mods: Alt|Shift, chars: "\x1BF" } + - { key: G, mods: Alt, chars: "\x1Bg" } + - { key: G, mods: Alt|Shift, chars: "\x1BG" } + - { key: H, mods: Alt, chars: "\x1Bh" } + - { key: H, mods: Alt|Shift, chars: "\x1BH" } + - { key: I, mods: Alt, chars: "\x1Bi" } + - { key: I, mods: Alt|Shift, chars: "\x1BI" } + - { key: J, mods: Alt, chars: "\x1Bj" } + - { key: J, mods: Alt|Shift, chars: "\x1BJ" } + - { key: K, mods: Alt, chars: "\x1Bk" } + - { key: K, mods: Alt|Shift, chars: "\x1BK" } + - { key: L, mods: Alt, chars: "\x1Bl" } + - { key: L, mods: Alt|Shift, chars: "\x1BL" } + - { key: M, mods: Alt, chars: "\x1Bm" } + - { key: M, mods: Alt|Shift, chars: "\x1BM" } + - { key: N, mods: Alt, chars: "\x1Bn" } + - { key: N, mods: Alt|Shift, chars: "\x1BN" } + - { key: O, mods: Alt, chars: "\x1Bo" } + - { key: O, mods: Alt|Shift, chars: "\x1BO" } + - { key: P, mods: Alt, chars: "\x1Bp" } + - { key: P, mods: Alt|Shift, chars: "\x1BP" } + - { key: Q, mods: Alt, chars: "\x1Bq" } + - { key: Q, mods: Alt|Shift, chars: "\x1BQ" } + - { key: R, mods: Alt, chars: "\x1Br" } + - { key: R, mods: Alt|Shift, chars: "\x1BR" } + - { key: S, mods: Alt, chars: "\x1Bs" } + - { key: S, mods: Alt|Shift, chars: "\x1BS" } + - { key: T, mods: Alt, chars: "\x1Bt" } + - { key: T, mods: Alt|Shift, chars: "\x1BT" } + - { key: U, mods: Alt, chars: "\x1Bu" } + - { key: U, mods: Alt|Shift, chars: "\x1BU" } + - { key: V, mods: Alt, chars: "\x1Bv" } + - { key: V, mods: Alt|Shift, chars: "\x1BV" } + - { key: W, mods: Alt, chars: "\x1Bw" } + - { key: W, mods: Alt|Shift, chars: "\x1BW" } + - { key: X, mods: Alt, chars: "\x1Bx" } + - { key: X, mods: Alt|Shift, chars: "\x1BX" } + - { key: Y, mods: Alt, chars: "\x1By" } + - { key: Y, mods: Alt|Shift, chars: "\x1BY" } + - { key: Y, mods: Alt|Control, chars: "\x1B\x19" } + - { key: Z, mods: Alt, chars: "\x1Bz" } + - { key: Z, mods: Alt|Shift, chars: "\x1BZ" } + - { key: Key1, mods: Alt, chars: "\x1B1" } + - { key: Key1, mods: Alt|Shift, chars: "\x1B!" } + - { key: Key2, mods: Alt, chars: "\x1B2" } + - { key: Key2, mods: Alt|Shift, chars: "\x1B#" } + - { key: Key3, mods: Alt, chars: "\x1B3" } + - { key: Key3, mods: Alt|Shift, chars: "\x1B#" } + - { key: Key4, mods: Alt, chars: "\x1B4" } + - { key: Key4, mods: Alt|Shift, chars: "\x1B$" } + - { key: Key5, mods: Alt, chars: "\x1B5" } + - { key: Key5, mods: Alt|Shift, chars: "\x1B%" } + - { key: Key6, mods: Alt, chars: "\x1B6" } + - { key: Key6, mods: Alt|Shift, chars: "\x1B^" } + - { key: Key7, mods: Alt, chars: "\x1B7" } + - { key: Key7, mods: Alt|Shift, chars: "\x1B&" } + - { key: Key8, mods: Alt, chars: "\x1B8" } + - { key: Key8, mods: Alt|Shift, chars: "\x1B*" } + - { key: Key9, mods: Alt, chars: "\x1B9" } + - { key: Key9, mods: Alt|Shift, chars: "\x1B(" } + - { key: Key0, mods: Alt, chars: "\x1B0" } + - { key: Key0, mods: Alt|Shift, chars: "\x1B)" } + - { key: Minus, mods: Alt, chars: "\x1B-" } + - { key: Minus, mods: Alt|Shift, chars: "\x1B_" } + - { key: Equals, mods: Alt, chars: "\x1B=" } + - { key: Equals, mods: Alt|Shift, chars: "\x1B+" } + - { key: LBracket, mods: Alt, chars: "\x1B[" } + - { key: LBracket, mods: Alt|Shift, chars: "\x1B{" } + - { key: RBracket, mods: Alt, chars: "\x1B]" } + - { key: RBracket, mods: Alt|Shift, chars: "\x1B}" } + - { key: RBracket, mods: Alt|Control, chars: "\x1B\x1D" } + - { key: Backslash, mods: Alt, chars: "\x1B\\" } + - { key: Backslash, mods: Alt|Shift, chars: "\x1B|" } + - { key: Semicolon, mods: Alt, chars: "\x1B;" } + - { key: Semicolon, mods: Alt|Shift, chars: "\x1B:" } + - { key: Apostrophe, mods: Alt, chars: "\x1B'" } + - { key: Apostrophe, mods: Alt|Shift, chars: "\x1B\"" } + - { key: Comma, mods: Alt, chars: "\x1B," } + - { key: Comma, mods: Alt|Shift, chars: "\x1B<" } + - { key: Period, mods: Alt, chars: "\x1B." } + - { key: Period, mods: Alt|Shift, chars: "\x1B>" } + - { key: Slash, mods: Alt, chars: "\x1B/" } + - { key: Slash, mods: Alt|Shift, chars: "\x1B?" } + - { key: Grave, mods: Alt, chars: "\x1B`" } + - { key: Grave, mods: Alt|Shift, chars: "\x1B~" } +alt_send_esc: false + diff --git a/dot.map b/dot.map @@ -52,6 +52,7 @@ R: ~/.config/R zathura: ~/.config/zathura gotop: ~/.config/gotop paru: ~/.config/paru +alacritty: ~/.config/alacritty # Config: X server (Linux) xinitrc: ~/.xinitrc