mirror of
				https://github.com/Stunkymonkey/dotfiles.git
				synced 2025-10-31 02:12:10 +01:00 
			
		
		
		
	[alacritty] clean & only have non default values
This commit is contained in:
		
							parent
							
								
									126a960395
								
							
						
					
					
						commit
						95adebc805
					
				
					 1 changed files with 6 additions and 358 deletions
				
			
		|  | @ -1,165 +1,21 @@ | ||||||
| # Configuration for Alacritty, the GPU enhanced terminal emulator. |  | ||||||
| 
 |  | ||||||
| # 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: xterm-256color |  | ||||||
| 
 |  | ||||||
| window: |  | ||||||
|   # Window dimensions (changes require restart) |  | ||||||
|   # |  | ||||||
|   # Specified in number of columns/lines, not pixels. |  | ||||||
|   # If both are `0`, this setting is ignored. |  | ||||||
|   dimensions: |  | ||||||
|     columns: 80 |  | ||||||
|     lines: 24 |  | ||||||
| 
 |  | ||||||
|   # Window padding (changes require restart) |  | ||||||
|   # |  | ||||||
|   # Blank space added around the window in pixels. This padding is not scaled |  | ||||||
|   # by DPI and the specified value is always added at both opposing sides. |  | ||||||
|   padding: |  | ||||||
|     x: 2 |  | ||||||
|     y: 2 |  | ||||||
| 
 |  | ||||||
|   # Window decorations |  | ||||||
|   # |  | ||||||
|   # Values for `decorations`: |  | ||||||
|   #     - full: Borders and title bar |  | ||||||
|   #     - none: Neither borders nor title bar |  | ||||||
|   decorations: full |  | ||||||
| 
 |  | ||||||
| scrolling: |  | ||||||
|   # Maximum number of lines in the scrollback buffer. |  | ||||||
|   # Specifying '0' will disable scrolling. |  | ||||||
|   history: 10000 |  | ||||||
| 
 |  | ||||||
|   # Number of lines the viewport will move for every line scrolled when |  | ||||||
|   # scrollback is enabled (history > 0). |  | ||||||
|   multiplier: 3 |  | ||||||
| 
 |  | ||||||
|   # Faux Scrolling |  | ||||||
|   # |  | ||||||
|   # The `faux_multiplier` setting controls the number of lines the terminal |  | ||||||
|   # should scroll when the alternate screen buffer is active. This is used |  | ||||||
|   # to allow mouse scrolling for applications like `man`. |  | ||||||
|   # |  | ||||||
|   # Specifying `0` will disable faux scrolling. |  | ||||||
|   faux_multiplier: 3 |  | ||||||
| 
 |  | ||||||
|   # Scroll to the bottom when new text is written to the terminal. |  | ||||||
|   auto_scroll: false |  | ||||||
| 
 |  | ||||||
| # Spaces per Tab (changes require restart) |  | ||||||
| # |  | ||||||
| # This setting defines the width of a tab in cells. |  | ||||||
| # |  | ||||||
| # Some applications, like Emacs, rely on knowing about the width of a tab. |  | ||||||
| # To prevent unexpected behavior in these applications, it's also required to |  | ||||||
| # change the `it` value in terminfo when altering this setting. |  | ||||||
| tabspaces: 4 | tabspaces: 4 | ||||||
| 
 |  | ||||||
| # Font configuration (changes require restart) |  | ||||||
| # |  | ||||||
| # Important font attributes like antialiasing, subpixel aa, and hinting can be |  | ||||||
| # controlled through fontconfig. Specifically, the following attributes should |  | ||||||
| # have an effect: |  | ||||||
| #   - hintstyle |  | ||||||
| #   - antialias |  | ||||||
| #   - lcdfilter |  | ||||||
| #   - rgba |  | ||||||
| # |  | ||||||
| # For instance, if you wish to disable subpixel antialiasing, you might set the |  | ||||||
| # rgba property to `none`. If you wish to completely disable antialiasing, you |  | ||||||
| # can set antialias to `false`. |  | ||||||
| # |  | ||||||
| # Please see these resources for more information on how to use fontconfig: |  | ||||||
| #   - https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration |  | ||||||
| #   - file:///usr/share/doc/fontconfig/fontconfig-user.html |  | ||||||
| font: | font: | ||||||
|   # Normal (roman) font face |  | ||||||
|   normal: |   normal: | ||||||
|     family: "Fira Mono" |     family: "Fira Mono" | ||||||
|     # The `style` can be specified to pick a specific face. |     style: Regular | ||||||
|     # style: Regular |  | ||||||
| 
 |  | ||||||
|   # Bold font face |  | ||||||
|   bold: |   bold: | ||||||
|     family: "Fira Mono" |     family: "Fira Mono" | ||||||
|     # The `style` can be specified to pick a specific face. |     style: Bold | ||||||
|     # style: Bold |  | ||||||
| 
 |  | ||||||
|   # Italic font face |  | ||||||
|   italic: |   italic: | ||||||
|     family: "Fira Mono" |     family: "Fira Mono" | ||||||
|     # The `style` can be specified to pick a specific face. |     style: Italic | ||||||
|     # style: Italic |  | ||||||
| 
 |  | ||||||
|   # Point size |  | ||||||
|   size: 11.0 |   size: 11.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 upwards. |  | ||||||
|   glyph_offset: |  | ||||||
|     x: 0 |  | ||||||
|     y: 0 |  | ||||||
| 
 |  | ||||||
|   # Scale the font size based on the monitor's DPI. This will lead to bigger text on HiDPI |  | ||||||
|   # screens and make reading text a little easier. |  | ||||||
|   # On X11 it is possible to change the DPI for each instance of alacritty by using |  | ||||||
|   # `WINIT_HIDPI_FACTOR=1.0 alacritty` to scale the font. |  | ||||||
|   scale_with_dpi: false |  | ||||||
| 
 |  | ||||||
| # Display the time it takes to redraw each frame. |  | ||||||
| render_timer: false |  | ||||||
| 
 |  | ||||||
| # Use custom cursor colors. If `true`, the `colors.cursor.foreground` and |  | ||||||
| # `colors.cursor.background` colors will be used to display the cursor. |  | ||||||
| # Otherwise the cell colors are inverted for the cursor. |  | ||||||
| custom_cursor_colors: false |  | ||||||
| 
 |  | ||||||
| # If `true`, bold text is drawn using the bright color variants. |  | ||||||
| draw_bold_text_with_bright_colors: true |  | ||||||
| 
 |  | ||||||
| # Colors (Tomorrow Night Bright) |  | ||||||
| colors: | colors: | ||||||
|   # Default colors |  | ||||||
|   primary: |   primary: | ||||||
|     background: '0x000000' |     background: '0x000000' | ||||||
|     foreground: '0xFFFFFF' |     foreground: '0xFFFFFF' | ||||||
| 
 | 
 | ||||||
|     # 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 |  | ||||||
|   # |  | ||||||
|   # These will only be used when the `custom_cursor_colors` field is set to `true`. |  | ||||||
|   cursor: |  | ||||||
|     text: '0x000000' |  | ||||||
|     cursor: '0xffffff' |  | ||||||
| 
 |  | ||||||
|   # Normal colors |  | ||||||
|   normal: |   normal: | ||||||
|     black:   '0x2E3436' |     black:   '0x2E3436' | ||||||
|     red:     '0xEF2929' |     red:     '0xEF2929' | ||||||
|  | @ -170,7 +26,6 @@ colors: | ||||||
|     cyan:    '0x06989A' |     cyan:    '0x06989A' | ||||||
|     white:   '0xD3D7CF' |     white:   '0xD3D7CF' | ||||||
| 
 | 
 | ||||||
|   # Bright colors |  | ||||||
|   bright: |   bright: | ||||||
|     black:   '0x555753' |     black:   '0x555753' | ||||||
|     red:     '0xEF6060' |     red:     '0xEF6060' | ||||||
|  | @ -181,224 +36,17 @@ colors: | ||||||
|     cyan:    '0x34E2E2' |     cyan:    '0x34E2E2' | ||||||
|     white:   '0xEEEEEC' |     white:   '0xEEEEEC' | ||||||
| 
 | 
 | ||||||
|   # Dim colors |  | ||||||
|   # |  | ||||||
|   # If the dim colors are not set, they will be calculated automatically based |  | ||||||
|   # on the `normal` colors. |  | ||||||
|   dim: |  | ||||||
|     black:   '0x333333' |  | ||||||
|     red:     '0xf2777a' |  | ||||||
|     green:   '0x99cc99' |  | ||||||
|     yellow:  '0xffcc66' |  | ||||||
|     blue:    '0x6699cc' |  | ||||||
|     magenta: '0xcc99cc' |  | ||||||
|     cyan:    '0x66cccc' |  | ||||||
|     white:   '0xdddddd' |  | ||||||
| 
 |  | ||||||
|   # Indexed Colors |  | ||||||
|   # |  | ||||||
|   # The indexed colors include all colors from 16 to 256. |  | ||||||
|   # When these are not set, they're filled with sensible defaults. |  | ||||||
|   # |  | ||||||
|   #indexed_colors: |  | ||||||
|   #  - { index: 16, color: '0x000000' } |  | ||||||
| 
 |  | ||||||
| # Visual Bell |  | ||||||
| # |  | ||||||
| # Any time the BEL code is received, Alacritty "rings" the visual bell. Once |  | ||||||
| # rung, the terminal background will be set to white and transition back to the |  | ||||||
| # default background color. You can control the rate of this transition by |  | ||||||
| # setting the `duration` property (represented in milliseconds). You can also |  | ||||||
| # configure the transition function by setting the `animation` property. |  | ||||||
| # |  | ||||||
| # Values for `animation`: |  | ||||||
| #   - Ease |  | ||||||
| #   - EaseOut |  | ||||||
| #   - EaseOutSine |  | ||||||
| #   - EaseOutQuad |  | ||||||
| #   - EaseOutCubic |  | ||||||
| #   - EaseOutQuart |  | ||||||
| #   - EaseOutQuint |  | ||||||
| #   - EaseOutExpo |  | ||||||
| #   - EaseOutCirc |  | ||||||
| #   - Linear |  | ||||||
| # |  | ||||||
| # Specifying a `duration` of `0` will disable the visual bell. |  | ||||||
| visual_bell: |  | ||||||
|   animation: EaseOutExpo |  | ||||||
|   duration: 0 |  | ||||||
| 
 |  | ||||||
| # 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: 1.0 |  | ||||||
| 
 |  | ||||||
| # Mouse bindings |  | ||||||
| # |  | ||||||
| # Available fields: |  | ||||||
| #   - mouse |  | ||||||
| #   - action |  | ||||||
| #   - mods (optional) |  | ||||||
| # |  | ||||||
| # Values for `mouse`: |  | ||||||
| #   - Middle |  | ||||||
| #   - Left |  | ||||||
| #   - Right |  | ||||||
| #   - Numeric identifier such as `5` |  | ||||||
| # |  | ||||||
| # All available `mods` and `action` values are documented in the key binding |  | ||||||
| # section. |  | ||||||
| mouse_bindings: |  | ||||||
|   - { mouse: Middle, action: PasteSelection } |  | ||||||
| 
 |  | ||||||
| mouse: |  | ||||||
|   # 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 } |  | ||||||
| 
 |  | ||||||
|   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. |  | ||||||
|     launcher: xdg-open |  | ||||||
| 
 |  | ||||||
|     # 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: Control|Shift |  | ||||||
| 
 |  | ||||||
| selection: |  | ||||||
|   semantic_escape_chars: ",│`|:\"' ()[]{}<>" |  | ||||||
| 
 |  | ||||||
|   # When set to `true`, selected text will be copied to both the primary and |  | ||||||
|   # the selection clipboard. Otherwise, it will only be copied to the selection |  | ||||||
|   # clipboard. |  | ||||||
|   save_to_clipboard: false |  | ||||||
| 
 |  | ||||||
| dynamic_title: true |  | ||||||
| 
 |  | ||||||
| hide_cursor_when_typing: false |  | ||||||
| 
 |  | ||||||
| # Cursor style |  | ||||||
| # |  | ||||||
| # Values for 'cursor_style': |  | ||||||
| #   - Block |  | ||||||
| #   - Underline |  | ||||||
| #   - Beam |  | ||||||
| cursor_style: Block |  | ||||||
| 
 |  | ||||||
| # If this is `true`, the cursor will be rendered as a hollow box when the |  | ||||||
| # window is not focused. |  | ||||||
| unfocused_hollow_cursor: true |  | ||||||
| 
 |  | ||||||
| # Live config reload (changes require restart) |  | ||||||
| live_config_reload: true |  | ||||||
| 
 |  | ||||||
| # Shell |  | ||||||
| # |  | ||||||
| # You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`. |  | ||||||
| # Entries in `shell.args` are passed unmodified as arguments to the shell. |  | ||||||
| # |  | ||||||
| #shell: |  | ||||||
| #  program: /bin/bash |  | ||||||
| #  args: |  | ||||||
| #    - --login |  | ||||||
| 
 |  | ||||||
| # Key bindings |  | ||||||
| # |  | ||||||
| # Key bindings are specified as a list of objects. Each binding will specify |  | ||||||
| # a key and modifiers required to trigger it, terminal modes where the binding |  | ||||||
| # is applicable, and what should be done when the key binding fires. It can |  | ||||||
| # either send a byte sequnce to the running application (`chars`), execute |  | ||||||
| # a predefined action (`action`) or fork and execute a specified command plus |  | ||||||
| # arguments (`command`). |  | ||||||
| # |  | ||||||
| # Example: |  | ||||||
| #   `- { key: V, mods: Command, action: Paste }` |  | ||||||
| # |  | ||||||
| # Available fields: |  | ||||||
| #   - key |  | ||||||
| #   - mods (optional) |  | ||||||
| #   - chars | action | command (exactly one required) |  | ||||||
| #   - mode (optional) |  | ||||||
| # |  | ||||||
| # Values for `key`: |  | ||||||
| #   - `A` -> `Z` |  | ||||||
| #   - `F1` -> `F12` |  | ||||||
| #   - `Key1` -> `Key0` |  | ||||||
| # |  | ||||||
| #   A full list with available key codes can be found here: |  | ||||||
| #   https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants |  | ||||||
| # |  | ||||||
| #   Instead of using the name of the keys, the `key` field also supports using |  | ||||||
| #   the scancode of the desired key. Scancodes have to be specified as a |  | ||||||
| #   decimal number. |  | ||||||
| #   This command will allow you to display the hex scancodes for certain keys: |  | ||||||
| #     `showkey --scancodes` |  | ||||||
| # |  | ||||||
| # Values for `mods`: |  | ||||||
| #   - Command |  | ||||||
| #   - Control |  | ||||||
| #   - Shift |  | ||||||
| #   - Alt |  | ||||||
| # |  | ||||||
| #   Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`. |  | ||||||
| #   Whitespace and capitalization is relevant and must match the example. |  | ||||||
| # |  | ||||||
| # Values for `chars`: |  | ||||||
| #   The `chars` field writes the specified string to the terminal. This makes |  | ||||||
| #   it possible to pass escape sequences. |  | ||||||
| #   To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run |  | ||||||
| #   the command `showkey -a` outside of tmux. |  | ||||||
| #   Note that applications use terminfo to map escape sequences back to |  | ||||||
| #   keys. It is therefore required to update the terminfo when |  | ||||||
| #   changing an escape sequence. |  | ||||||
| # |  | ||||||
| # Values for `action`: |  | ||||||
| #   - Paste |  | ||||||
| #   - PasteSelection |  | ||||||
| #   - Copy |  | ||||||
| #   - IncreaseFontSize |  | ||||||
| #   - DecreaseFontSize |  | ||||||
| #   - ResetFontSize |  | ||||||
| #   - ScrollPageUp |  | ||||||
| #   - ScrollPageDown |  | ||||||
| #   - ScrollToTop |  | ||||||
| #   - ScrollToBottom |  | ||||||
| #   - ClearHistory |  | ||||||
| #   - Hide |  | ||||||
| #   - Quit |  | ||||||
| # |  | ||||||
| # Values for `command`: |  | ||||||
| #   The `command` field must be a map containing a `program` string and |  | ||||||
| #   an `args` array of command line parameter strings. |  | ||||||
| # |  | ||||||
| #   Example: |  | ||||||
| #       `command: { program: "alacritty", args: ["-e", "vttest"] }` |  | ||||||
| # |  | ||||||
| # Values for `mode`: |  | ||||||
| #   - ~AppCursor |  | ||||||
| #   - AppCursor |  | ||||||
| #   - ~AppKeypad |  | ||||||
| #   - AppKeypad |  | ||||||
| key_bindings: | key_bindings: | ||||||
|   - { 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: Paste,                   action: Paste                        } |   - { key: Paste,                   action: Paste                        } | ||||||
|   - { key: Copy,                    action: Copy                         } |   - { key: Copy,                    action: Copy                         } | ||||||
|   - { key: Q,        mods: Command, action: Quit                         } |  | ||||||
|   - { key: W,        mods: Command, action: Quit                         } |  | ||||||
|   - { 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: Add,      mods: Control, action: IncreaseFontSize             } | ||||||
|   - { key: Subtract, mods: Control, action: DecreaseFontSize             } |   - { key: Subtract, mods: Control, action: DecreaseFontSize             } | ||||||
|  |   - { key: L,        mods: Control, action: ClearLogNotice               } | ||||||
|  |   - { key: L,        mods: Control, chars: "\x0c"                        } | ||||||
|   - { key: Home,     mods: Shift,   action: ScrollToTop                  } |   - { key: Home,     mods: Shift,   action: ScrollToTop                  } | ||||||
|   - { key: Home,                    chars: "\x1bOH",   mode: AppCursor   } |   - { key: Home,                    chars: "\x1bOH",   mode: AppCursor   } | ||||||
|   - { key: Home,                    chars: "\x1b[H",   mode: ~AppCursor  } |   - { key: Home,                    chars: "\x1b[H",   mode: ~AppCursor  } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler