From e85c87c2487a18ec14d69a0794c2b417ec462070 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Fri, 15 Oct 2021 23:38:17 +0200 Subject: [PATCH] Alacritty tweaks. --- _desktop/alacritty/alacritty.yml | 110 ++++++++++++++----------------- 1 file changed, 48 insertions(+), 62 deletions(-) diff --git a/_desktop/alacritty/alacritty.yml b/_desktop/alacritty/alacritty.yml index 0c3849e..6b3fd6a 100644 --- a/_desktop/alacritty/alacritty.yml +++ b/_desktop/alacritty/alacritty.yml @@ -1,18 +1,22 @@ env: TERM: xterm-256color + window: + dimensions: + columns: 120 + lines: 34 padding: x: 5 y: 3 - dynamic_padding: true + dynamic_padding: false + decorations: none startup_mode: Windowed - title: Alacritty dynamic_title: true + +scrolling: history: 10000 multiplier: 3 -cursor: - style: Beam font: normal: @@ -27,8 +31,20 @@ font: bold_italic: family: JetBrainsMono Nerd Font Mono style: Bold Italic - size: 10 - use_thin_strokes: true + size: 6 + # 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 draw_bold_text_with_bright_colors: false schemes: @@ -60,72 +76,42 @@ schemes: magenta: '#bd9eff' cyan: '#5ed6fe' white: '#feffff' - papercolor: &papercolor - primary: - background: '#eeeeed' - foreground: '#4c4c4b' - cursor: - text: '#000000' - cursor: '#feffff' - normal: - black: '#1d1f21' - red: '#db5f62' - green: '#b3be5a' - yellow: '#f8c565' - blue: '#79a3c1' - magenta: '#b892be' - cyan: '#7bc0b7' - white: '#c4c8c6' - bright: - black: '#666666' - red: '#e6404e' - green: '#b4cc25' - yellow: '#edc418' - blue: '#4271ad' - magenta: '#cb93dd' - cyan: '#51c2b1' - white: '#eeeeed' - gruvbox: &gruvbox - primary: - background: '#1d2021' - foreground: '#ebdbb2' - cursor: - text: '#272727' - cursor: '#ebdbb2' - selection: - text: '#655b53' - background: '#ebdbb2' - normal: - black: '#282828' - red: '#cc241d' - green: '#98971a' - yellow: '#d79921' - blue: '#458588' - magenta: '#b16286' - cyan: '#689d6a' - white: '#a89984' - bright: - black: '#928374' - red: '#fb4934' - green: '#b8bb26' - yellow: '#fabd2f' - blue: '#83a598' - magenta: '#d3869b' - cyan: '#8ec07c' - white: '#ebdbb2' colors: *ftpd - background_opacity: 0.9 +cursor: + style: + shape: Beam + blinking: Off + vi_mode_style: Block + +live_config_reload: true + mouse: - hide_when_typing: true + hide_when_typing: false + +hints: + alphabet: "jfkdls;ahgurieowpq" + + enabled: + - regex: "(https:|http:)\ + [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + command: xdg-open + post_processing: true + mouse: + enabled: true + mods: None + binding: + key: O + mods: Control + key_bindings: - { key: 0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Minus, mods: Control, action: DecreaseFontSize } - { key: Slash, mods: Control, action: SearchForward } - - { key: Q, mods: Control, action: Quit } - { key: K, mods: Control, action: ScrollLineUp } - { key: J, mods: Control, action: ScrollLineDown } - { key: V, mods: Shift|Control, action: Paste } - { key: C, mods: Shift|Control, action: Copy } +