diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index f530ee5..24826ef 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -1,388 +1,63 @@ # Configuration for Alacritty, the GPU enhanced terminal emulator. -# Import additional configuration files -# -# 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 +live_config_reload: true -# 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 +env: + TERM: 'xterm-256color' window: - # Window dimensions (changes require restart) - # - # Number of lines/columns (not pixels) in the terminal. Both lines and columns - # must be non-zero for this to take effect. The number of columns must be at - # least `2`, while using a value of `0` for columns and lines will fall back - # to the window manager's recommended size - #dimensions: - # columns: 0 - # lines: 0 + padding: + x: 6 + y: 6 + dynamic_padding: false - # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - #position: - # x: 0 - # y: 0 - - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - #padding: - # x: 0 - # y: 0 - - # Spread additional padding evenly around the terminal content. - #dynamic_padding: false - - # Window decorations - # - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - # - # Values for `decorations` (macOS only): - # - transparent: Title bar, transparent background and title bar buttons - # - buttonless: Title bar, transparent background and no title bar buttons - #decorations: full - - # 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. + decorations: none opacity: 0.8 - # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - #startup_mode: Windowed - - # 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 - # Decorations theme variant - # - # Override the variant of the System theme/GTK theme/Wayland client side - # decorations. Commonly supported values are `Dark`, `Light`, and `None` for - # auto pick-up. Set this to `None` to use the default theme variant. - #decorations_theme_variant: None - - # Resize increments - # - # Prefer resizing window by discrete steps equal to cell dimensions. - #resize_increments: false - - # Make `Option` key behave as `Alt` (macOS only): - # - OnlyLeft - # - OnlyRight - # - Both - # - None (default) - #option_as_alt: None - scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. history: 50000 - - # Scrolling distance multiplier. #multiplier: 3 -# Font configuration font: - # Normal (roman) font face normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - #family: hack family: Mononoki Nerd Font - - # The `style` can be specified to pick a specific face. style: Regular - - # Bold font face bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - family: hack - - # The `style` can be specified to pick a specific face. + family: Mononoki Nerd Font style: Bold - - # Italic font face italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - family: hack - - # The `style` can be specified to pick a specific face. + family: Mononoki Nerd Font style: Italic - - # Bold italic font face bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. + family: Monokoi Nerd Font style: Bold Italic - - # Point size 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 upward. - #glyph_offset: - # x: 0 - # y: 0 - - # Use built-in font for box drawing characters. - # - # If `true`, Alacritty will use a custom built-in font for box drawing - # characters (Unicode points 2500 - 259f). - # - #builtin_box_drawing: true - -# If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: false - -colors: - primary: - background: "#2e3440" - foreground: "#d8dee9" - dim_foreground: "#a5abb6" - cursor: - text: "#2e3440" - cursor: "#d8dee9" - vi_mode_cursor: - text: "#2e3440" - cursor: "#d8dee9" - selection: - text: CellForeground - background: "#4c566a" - search: - matches: - foreground: CellBackground - background: "#88c0d0" - colors.footer_bar: - background: "#434c5e" - foreground: "#d8dee9" - normal: - black: "#3b4252" - red: "#bf616a" - green: "#a3be8c" - yellow: "#ebcb8b" - blue: "#81a1c1" - magenta: "#b48ead" - cyan: "#88c0d0" - white: "#e5e9f0" - bright: - black: "#4c566a" - red: "#bf616a" - green: "#a3be8c" - yellow: "#ebcb8b" - blue: "#81a1c1" - magenta: "#b48ead" - cyan: "#8fbcbb" - white: "#eceff4" - dim: - black: "#373e4d" - red: "#94545d" - green: "#809575" - yellow: "#b29e75" - blue: "#68809a" - magenta: "#8c738c" - cyan: "#6d96a5" - white: "#aeb3bb" - - # Transparent cell backgrounds - # - # Whether or not `window.opacity` applies to all cell backgrounds or only to - # the default background. When set to `true` all cells will be transparent - # regardless of their background color. - #transparent_background_colors: false - -# Bell -# -# The bell is rung every time the BEL control character is received. -#bell: - # Visual Bell Animation - # - # Animation effect for flashing the screen when the visual bell is rung. - # - # 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' - - # Bell Command - # - # This program is executed whenever the bell is rung. - # - # When set to `command: None`, no command will be executed. - # - # Example: - # command: - # program: notify-send - # args: ["Hello, World!"] - # - #command: None - #selection: - # This string contains all characters that are used as separators for - # "semantic words" in Alacritty. #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + save_to_clipboard: true - # When set to `true`, selected text will be copied to the primary clipboard. - #save_to_clipboard: false +cursor: + style: + shape: Beam + blinking: Off -#cursor: - # Cursor style - #style: - # Cursor shape - # - # Values for `shape`: - # - ▇ Block - # - _ Underline - # - | Beam - #shape: Block + vi_mode_style: Block + unfocused_hollow: false - # Cursor blinking state - # - # Values for `blinking`: - # - Never: Prevent the cursor from ever blinking - # - Off: Disable blinking by default - # - On: Enable blinking by default - # - Always: Force the cursor to always blink - #blinking: Off - - # Vi mode cursor style - # - # If the vi mode cursor style is `None` or not specified, it will fall back to - # the style of the active value of the normal cursor. - # - # See `cursor.style` for available options. - #vi_mode_style: None - - # Cursor blinking interval in milliseconds. - #blink_interval: 750 - - # Time after which cursor stops blinking, in seconds. - # - # Specifying '0' will disable timeout for blinking. - #blink_timeout: 5 - - # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. - #unfocused_hollow: true - - # Thickness of the cursor relative to the cell width as floating point number - # from `0.0` to `1.0`. - #thickness: 0.15 - -# 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. -# -# Default: -# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset -# - (Windows) powershell #shell: -# program: /bin/bash +# program: `$SHELL` # args: # - --login -# Startup directory -# -# Directory the shell is started in. If this is unset, or `None`, the working -# directory of the parent process will be used. #working_directory: None -# Offer IPC using `alacritty msg` (unix only) -#ipc_socket: true - -#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 } - - # If this is `true`, the cursor is temporarily hidden when typing. - #hide_when_typing: false +mouse: + hide_when_typing: true # Hints # @@ -434,34 +109,10 @@ colors: # key: U # mods: Control|Shift -# Mouse bindings -# -# Mouse bindings are specified as a list of objects, much like the key -# bindings further below. -# # To trigger mouse bindings when an application running within Alacritty # captures the mouse, the `Shift` modifier is automatically added as a # requirement. -# -# Each mouse binding will specify a: -# -# - `mouse`: -# -# - Middle -# - Left -# - Right -# - Numeric identifier such as `5` -# -# - `action` (see key bindings for actions not exclusive to mouse mode) -# -# - Mouse exclusive actions: -# -# - ExpandSelection -# Expand the selection to the current mouse cursor location. -# -# And optionally: -# -# - `mods` (see key bindings) + #mouse_bindings: # - { mouse: Right, action: ExpandSelection } # - { mouse: Right, mods: Control, action: ExpandSelection } @@ -788,35 +439,59 @@ colors: #- { key: F, mods: Command, mode: ~Search, action: SearchForward } #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } -#debug: - # Display the time it takes to redraw each frame. - #render_timer: false - - # Keep the log file after quitting Alacritty. - #persistent_logging: false - - # Log level - # - # Values for `log_level`: - # - Off - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn - - # Renderer override. - # - glsl3 - # - gles2 - # - gles2_pure - #renderer: None - - # Print all received window events. - #print_events: false - - # Highlight window damage information. - #highlight_damage: false - key_bindings: - { key: F11, action: ToggleFullscreen } + +colors: + primary: + background: "#2e3440" + foreground: "#d8dee9" + dim_foreground: "#a5abb6" + cursor: + text: "#2e3440" + cursor: "#d8dee9" + vi_mode_cursor: + text: "#2e3440" + cursor: "#d8dee9" + selection: + text: CellForeground + background: "#4c566a" + search: + matches: + foreground: CellBackground + background: "#88c0d0" + footer_bar: + background: "#434c5e" + foreground: "#d8dee9" + normal: + black: "#3b4252" + red: "#bf616a" + green: "#a3be8c" + yellow: "#ebcb8b" + blue: "#81a1c1" + magenta: "#b48ead" + cyan: "#88c0d0" + white: "#e5e9f0" + bright: + black: "#4c566a" + red: "#bf616a" + green: "#a3be8c" + yellow: "#ebcb8b" + blue: "#81a1c1" + magenta: "#b48ead" + cyan: "#8fbcbb" + white: "#eceff4" + dim: + black: "#373e4d" + red: "#94545d" + green: "#809575" + yellow: "#b29e75" + blue: "#68809a" + magenta: "#8c738c" + cyan: "#6d96a5" + white: "#aeb3bb" + + transparent_background_colors: false + +#import: +# - $HOME/.config/alacritty/theme/nord.yml