From 8847dba11818550e06c91b4ba47a7270faeb349d Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Wed, 10 Mar 2021 23:46:50 +0100 Subject: [PATCH] [alacritty] Update to match latest Alacritty config version, add Launcher --- dot_config/alacritty/alacritty-launcher.yml | 46 +++ dot_config/alacritty/alacritty.yml | 311 +++++++++++--------- 2 files changed, 214 insertions(+), 143 deletions(-) create mode 100644 dot_config/alacritty/alacritty-launcher.yml diff --git a/dot_config/alacritty/alacritty-launcher.yml b/dot_config/alacritty/alacritty-launcher.yml new file mode 100644 index 0000000..a73cc7f --- /dev/null +++ b/dot_config/alacritty/alacritty-launcher.yml @@ -0,0 +1,46 @@ +import: + - alacritty.yml + +font: + normal: + family: Fantasque Sans Mono + size: 15.0 + fallback_size: 20.0 + + + offset: + x: 0 + y: 0 + glyph_offset: + x: 0 + y: 0 + +background_opacity: 0.7 + +colors: + name: Tomorrow (light) + author: Chris Kempson + primary: + background: "#ffffff" + foreground: "#373b41" + cursor: + text: "#ffffff" + cursor: "#373b41" + normal: + black: "#1d1f21" + red: "#cc6666" + green: "#b5bd68" + yellow: "#f0c674" + blue: "#81a2be" + magenta: "#b294bb" + cyan: "#8abeb7" + white: "#c5c8c6" + bright: + black: "#969896" + red: "#cc6666" + green: "#b5bd68" + yellow: "#f0c674" + blue: "#81a2be" + magenta: "#b294bb" + cyan: "#8abeb7" + white: "#ffffff" diff --git a/dot_config/alacritty/alacritty.yml b/dot_config/alacritty/alacritty.yml index a2efde4..1b98a8c 100644 --- a/dot_config/alacritty/alacritty.yml +++ b/dot_config/alacritty/alacritty.yml @@ -22,7 +22,6 @@ font: size: 12.0 fallback_size: 20.0 - offset: x: 0 y: 0 @@ -30,7 +29,6 @@ font: x: 0 y: 0 - visual: animation: EaseOutExpo duration: 0 # disabled @@ -51,151 +49,151 @@ mouse: selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>" - live_config_reload: true key_bindings: - - { key: V, mods: Control|Shift, action: Paste } - - { key: C, mods: Control|Shift, action: Copy } - - { key: Paste, action: Paste } - - { key: Copy, action: Copy } - - { key: Q, mods: Command, action: Quit } - - { key: W, mods: Command, action: Quit } - - { key: Insert, mods: Shift, action: PasteSelection } - - { key: Key0, mods: Control, action: ResetFontSize } - - { key: Equals, mods: Control, action: IncreaseFontSize } - - { key: Minus, mods: Control, action: DecreaseFontSize } - - { key: Home, chars: "\x1bOH", mode: AppCursor } - - { key: Home, chars: "\x1b[H", mode: ~AppCursor } - - { key: End, chars: "\x1bOF", mode: AppCursor } - - { key: End, chars: "\x1b[F", mode: ~AppCursor } - - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } - - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - - { key: PageUp, chars: "\x1b[5~" } - - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } - - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - - { key: PageDown, chars: "\x1b[6~" } - - { key: Tab, mods: Shift, chars: "\x1b[Z" } - - { key: Back, chars: "\x7f" } - - { key: Back, mods: Alt, chars: "\x1b\x7f" } - - { key: Insert, chars: "\x1b[2~" } - - { key: Delete, chars: "\x1b[3~" } - - { key: Left, mods: Shift, chars: "\x1b[1;2D" } - - { key: Left, mods: Control, chars: "\x1b[1;5D" } - - { key: Left, mods: Alt, chars: "\x1b[1;3D" } - - { key: Left, chars: "\x1b[D", mode: ~AppCursor } - - { key: Left, chars: "\x1bOD", mode: AppCursor } - - { key: Right, mods: Shift, chars: "\x1b[1;2C" } - - { key: Right, mods: Control, chars: "\x1b[1;5C" } - - { key: Right, mods: Alt, chars: "\x1b[1;3C" } - - { key: Right, chars: "\x1b[C", mode: ~AppCursor } - - { key: Right, chars: "\x1bOC", mode: AppCursor } - - { key: Up, mods: Shift, chars: "\x1b[1;2A" } - - { key: Up, mods: Control, chars: "\x1b[1;5A" } - - { key: Up, mods: Alt, chars: "\x1b[1;3A" } - - { key: Up, chars: "\x1b[A", mode: ~AppCursor } - - { key: Up, chars: "\x1bOA", mode: AppCursor } - - { key: Down, mods: Shift, chars: "\x1b[1;2B" } - - { key: Down, mods: Control, chars: "\x1b[1;5B" } - - { key: Down, mods: Alt, chars: "\x1b[1;3B" } - - { key: Down, chars: "\x1b[B", mode: ~AppCursor } - - { key: Down, chars: "\x1bOB", mode: AppCursor } - - { key: F1, chars: "\x1bOP" } - - { key: F2, chars: "\x1bOQ" } - - { key: F3, chars: "\x1bOR" } - - { key: F4, chars: "\x1bOS" } - - { key: F5, chars: "\x1b[15~" } - - { key: F6, chars: "\x1b[17~" } - - { key: F7, chars: "\x1b[18~" } - - { key: F8, chars: "\x1b[19~" } - - { key: F9, chars: "\x1b[20~" } - - { key: F10, chars: "\x1b[21~" } - - { key: F11, chars: "\x1b[23~" } - - { key: F12, chars: "\x1b[24~" } - - { key: F1, mods: Shift, chars: "\x1b[1;2P" } - - { key: F2, mods: Shift, chars: "\x1b[1;2Q" } - - { key: F3, mods: Shift, chars: "\x1b[1;2R" } - - { key: F4, mods: Shift, chars: "\x1b[1;2S" } - - { key: F5, mods: Shift, chars: "\x1b[15;2~" } - - { key: F6, mods: Shift, chars: "\x1b[17;2~" } - - { key: F7, mods: Shift, chars: "\x1b[18;2~" } - - { key: F8, mods: Shift, chars: "\x1b[19;2~" } - - { key: F9, mods: Shift, chars: "\x1b[20;2~" } - - { key: F10, mods: Shift, chars: "\x1b[21;2~" } - - { key: F11, mods: Shift, chars: "\x1b[23;2~" } - - { key: F12, mods: Shift, chars: "\x1b[24;2~" } - - { key: F1, mods: Control, chars: "\x1b[1;5P" } - - { key: F2, mods: Control, chars: "\x1b[1;5Q" } - - { key: F3, mods: Control, chars: "\x1b[1;5R" } - - { key: F4, mods: Control, chars: "\x1b[1;5S" } - - { key: F5, mods: Control, chars: "\x1b[15;5~" } - - { key: F6, mods: Control, chars: "\x1b[17;5~" } - - { key: F7, mods: Control, chars: "\x1b[18;5~" } - - { key: F8, mods: Control, chars: "\x1b[19;5~" } - - { key: F9, mods: Control, chars: "\x1b[20;5~" } - - { key: F10, mods: Control, chars: "\x1b[21;5~" } - - { key: F11, mods: Control, chars: "\x1b[23;5~" } - - { key: F12, mods: Control, chars: "\x1b[24;5~" } - - { key: F1, mods: Alt, chars: "\x1b[1;6P" } - - { key: F2, mods: Alt, chars: "\x1b[1;6Q" } - - { key: F3, mods: Alt, chars: "\x1b[1;6R" } - - { key: F4, mods: Alt, chars: "\x1b[1;6S" } - - { key: F5, mods: Alt, chars: "\x1b[15;6~" } - - { key: F6, mods: Alt, chars: "\x1b[17;6~" } - - { key: F7, mods: Alt, chars: "\x1b[18;6~" } - - { key: F8, mods: Alt, chars: "\x1b[19;6~" } - - { key: F9, mods: Alt, chars: "\x1b[20;6~" } - - { key: F10, mods: Alt, chars: "\x1b[21;6~" } - - { key: F11, mods: Alt, chars: "\x1b[23;6~" } - - { key: F12, mods: Alt, chars: "\x1b[24;6~" } - - { key: F1, mods: Super, chars: "\x1b[1;3P" } - - { key: F2, mods: Super, chars: "\x1b[1;3Q" } - - { key: F3, mods: Super, chars: "\x1b[1;3R" } - - { key: F4, mods: Super, chars: "\x1b[1;3S" } - - { key: F5, mods: Super, chars: "\x1b[15;3~" } - - { key: F6, mods: Super, chars: "\x1b[17;3~" } - - { key: F7, mods: Super, chars: "\x1b[18;3~" } - - { key: F8, mods: Super, chars: "\x1b[19;3~" } - - { key: F9, mods: Super, chars: "\x1b[20;3~" } - - { key: F10, mods: Super, chars: "\x1b[21;3~" } - - { key: F11, mods: Super, chars: "\x1b[23;3~" } - - { key: F12, mods: Super, chars: "\x1b[24;3~" } + - { key: V, mods: Control|Shift, action: Paste } + - { key: C, mods: Control|Shift, action: Copy } + - { key: Paste, action: Paste } + - { key: Copy, action: Copy } + - { key: Q, mods: Command, action: Quit } + - { key: W, mods: Command, action: Quit } + - { key: Insert, mods: Shift, action: PasteSelection } + - { key: Key0, mods: Control, action: ResetFontSize } + - { key: Equals, mods: Control, action: IncreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } + - { key: Home, chars: "\eOH", mode: AppCursor } + - { key: Home, chars: "\e[H", mode: ~AppCursor } + - { key: End, chars: "\eOF", mode: AppCursor } + - { key: End, chars: "\e[F", mode: ~AppCursor } + - { key: PageUp, mods: Shift, chars: "\e[5;2~" } + - { key: PageUp, mods: Control, chars: "\e[5;5~" } + - { key: PageUp, chars: "\e[5~" } + - { key: PageDown, mods: Shift, chars: "\e[6;2~" } + - { key: PageDown, mods: Control, chars: "\e[6;5~" } + - { key: PageDown, chars: "\e[6~" } + - { key: Tab, mods: Shift, chars: "\e[Z" } + - { key: Back, chars: "" } + - { key: Back, mods: Alt, chars: "\e" } + - { key: Insert, chars: "\e[2~" } + - { key: Delete, chars: "\e[3~" } + - { key: Left, mods: Shift, chars: "\e[1;2D" } + - { key: Left, mods: Control, chars: "\e[1;5D" } + - { key: Left, mods: Alt, chars: "\e[1;3D" } + - { key: Left, chars: "\e[D", mode: ~AppCursor } + - { key: Left, chars: "\eOD", mode: AppCursor } + - { key: Right, mods: Shift, chars: "\e[1;2C" } + - { key: Right, mods: Control, chars: "\e[1;5C" } + - { key: Right, mods: Alt, chars: "\e[1;3C" } + - { key: Right, chars: "\e[C", mode: ~AppCursor } + - { key: Right, chars: "\eOC", mode: AppCursor } + - { key: Up, mods: Shift, chars: "\e[1;2A" } + - { key: Up, mods: Control, chars: "\e[1;5A" } + - { key: Up, mods: Alt, chars: "\e[1;3A" } + - { key: Up, chars: "\e[A", mode: ~AppCursor } + - { key: Up, chars: "\eOA", mode: AppCursor } + - { key: Down, mods: Shift, chars: "\e[1;2B" } + - { key: Down, mods: Control, chars: "\e[1;5B" } + - { key: Down, mods: Alt, chars: "\e[1;3B" } + - { key: Down, chars: "\e[B", mode: ~AppCursor } + - { key: Down, chars: "\eOB", mode: AppCursor } + - { key: F1, chars: "\eOP" } + - { key: F2, chars: "\eOQ" } + - { key: F3, chars: "\eOR" } + - { key: F4, chars: "\eOS" } + - { key: F5, chars: "\e[15~" } + - { key: F6, chars: "\e[17~" } + - { key: F7, chars: "\e[18~" } + - { key: F8, chars: "\e[19~" } + - { key: F9, chars: "\e[20~" } + - { key: F10, chars: "\e[21~" } + - { key: F11, chars: "\e[23~" } + - { key: F12, chars: "\e[24~" } + - { key: F1, mods: Shift, chars: "\e[1;2P" } + - { key: F2, mods: Shift, chars: "\e[1;2Q" } + - { key: F3, mods: Shift, chars: "\e[1;2R" } + - { key: F4, mods: Shift, chars: "\e[1;2S" } + - { key: F5, mods: Shift, chars: "\e[15;2~" } + - { key: F6, mods: Shift, chars: "\e[17;2~" } + - { key: F7, mods: Shift, chars: "\e[18;2~" } + - { key: F8, mods: Shift, chars: "\e[19;2~" } + - { key: F9, mods: Shift, chars: "\e[20;2~" } + - { key: F10, mods: Shift, chars: "\e[21;2~" } + - { key: F11, mods: Shift, chars: "\e[23;2~" } + - { key: F12, mods: Shift, chars: "\e[24;2~" } + - { key: F1, mods: Control, chars: "\e[1;5P" } + - { key: F2, mods: Control, chars: "\e[1;5Q" } + - { key: F3, mods: Control, chars: "\e[1;5R" } + - { key: F4, mods: Control, chars: "\e[1;5S" } + - { key: F5, mods: Control, chars: "\e[15;5~" } + - { key: F6, mods: Control, chars: "\e[17;5~" } + - { key: F7, mods: Control, chars: "\e[18;5~" } + - { key: F8, mods: Control, chars: "\e[19;5~" } + - { key: F9, mods: Control, chars: "\e[20;5~" } + - { key: F10, mods: Control, chars: "\e[21;5~" } + - { key: F11, mods: Control, chars: "\e[23;5~" } + - { key: F12, mods: Control, chars: "\e[24;5~" } + - { key: F1, mods: Alt, chars: "\e[1;6P" } + - { key: F2, mods: Alt, chars: "\e[1;6Q" } + - { key: F3, mods: Alt, chars: "\e[1;6R" } + - { key: F4, mods: Alt, chars: "\e[1;6S" } + - { key: F5, mods: Alt, chars: "\e[15;6~" } + - { key: F6, mods: Alt, chars: "\e[17;6~" } + - { key: F7, mods: Alt, chars: "\e[18;6~" } + - { key: F8, mods: Alt, chars: "\e[19;6~" } + - { key: F9, mods: Alt, chars: "\e[20;6~" } + - { key: F10, mods: Alt, chars: "\e[21;6~" } + - { key: F11, mods: Alt, chars: "\e[23;6~" } + - { key: F12, mods: Alt, chars: "\e[24;6~" } + - { key: F1, mods: Super, chars: "\e[1;3P" } + - { key: F2, mods: Super, chars: "\e[1;3Q" } + - { key: F3, mods: Super, chars: "\e[1;3R" } + - { key: F4, mods: Super, chars: "\e[1;3S" } + - { key: F5, mods: Super, chars: "\e[15;3~" } + - { key: F6, mods: Super, chars: "\e[17;3~" } + - { key: F7, mods: Super, chars: "\e[18;3~" } + - { key: F8, mods: Super, chars: "\e[19;3~" } + - { key: F9, mods: Super, chars: "\e[20;3~" } + - { key: F10, mods: Super, chars: "\e[21;3~" } + - { key: F11, mods: Super, chars: "\e[23;3~" } + - { key: F12, mods: Super, chars: "\e[24;3~" } # Base16 Default Light 256 - alacritty color config # Chris Kempson (http://chriskempson.com) schemes: - base16_default_light: &light + base16_default_light: # Default colors + &light primary: background: '0xf8f8f8' foreground: '0x383838' - + # Colors the cursor will use if `custom_cursor_colors` is true cursor: text: '0xf8f8f8' cursor: '0x383838' - + # Normal colors normal: - black: '0xf8f8f8' - red: '0xab4642' - green: '0xa1b56c' - yellow: '0xf7ca88' - blue: '0x7cafc2' + black: '0xf8f8f8' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' magenta: '0xba8baf' - cyan: '0x86c1b9' - white: '0x383838' - + cyan: '0x86c1b9' + white: '0x383838' + # Bright colors bright: - black: '0xb8b8b8' - red: '0xab4642' - green: '0xa1b56c' - yellow: '0xf7ca88' - blue: '0x7cafc2' + black: '0xb8b8b8' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' magenta: '0xba8baf' - cyan: '0x86c1b9' - white: '0x181818' - + cyan: '0x86c1b9' + white: '0x181818' + indexed_colors: - { index: 16, color: '0xdc9656' } - { index: 17, color: '0xa16946' } @@ -204,8 +202,9 @@ schemes: - { index: 20, color: '0x585858' } - { index: 21, color: '0x282828' } - base16_nord: &dark + base16_nord: # Default colors + &dark primary: background: '0x2e3440' foreground: '0xe5e9f0' @@ -217,25 +216,25 @@ schemes: # Normal colors normal: - black: '0x2e3440' - red: '0x88c0d0' - green: '0xbf616a' - yellow: '0x5e81ac' - blue: '0xebcb8b' + black: '0x2e3440' + red: '0x88c0d0' + green: '0xbf616a' + yellow: '0x5e81ac' + blue: '0xebcb8b' magenta: '0xa3be8c' - cyan: '0xd08770' - white: '0xe5e9f0' + cyan: '0xd08770' + white: '0xe5e9f0' # Bright colors bright: - black: '0x4c566a' - red: '0x88c0d0' - green: '0xbf616a' - yellow: '0x5e81ac' - blue: '0xebcb8b' + black: '0x4c566a' + red: '0x88c0d0' + green: '0xbf616a' + yellow: '0x5e81ac' + blue: '0xebcb8b' magenta: '0xa3be8c' - cyan: '0xd08770' - white: '0x8fbcbb' + cyan: '0xd08770' + white: '0x8fbcbb' indexed_colors: - { index: 16, color: '0x81a1c1' } @@ -245,4 +244,30 @@ schemes: - { index: 20, color: '0xd8dee9' } - { index: 21, color: '0xeceff4' } -colors: *light +colors: + name: Tomorrow (light) + author: Chris Kempson + primary: + background: "#ffffff" + foreground: "#373b41" + cursor: + text: "#ffffff" + cursor: "#373b41" + normal: + black: "#1d1f21" + red: "#cc6666" + green: "#b5bd68" + yellow: "#f0c674" + blue: "#81a2be" + magenta: "#b294bb" + cyan: "#8abeb7" + white: "#c5c8c6" + bright: + black: "#969896" + red: "#cc6666" + green: "#b5bd68" + yellow: "#f0c674" + blue: "#81a2be" + magenta: "#b294bb" + cyan: "#8abeb7" + white: "#ffffff"