aboutsummaryrefslogtreecommitdiff
path: root/.config/alacritty/alacritty.yml
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-10 12:08:27 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-10 12:08:27 +0530
commit6bfa2ca06e9a79dd655427b3ef3a8f1cf98ed9ea (patch)
tree36c3af54dea4824a491bbb2197dc56e942cb48ca /.config/alacritty/alacritty.yml
parent610bf8bf4d6c6e0cb1316710b81fdbe4ddc408dc (diff)
Modularized Alacritty config
Diffstat (limited to '.config/alacritty/alacritty.yml')
-rw-r--r--.config/alacritty/alacritty.yml186
1 files changed, 9 insertions, 177 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 8c4d0aa..2de9269 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -1,179 +1,11 @@
-# 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
-
import:
+ # settings
+ - ~/.config/alacritty/font.yml
+ - ~/.config/alacritty/keybindings.yml #
+ - ~/.config/alacritty/mouse.yml
+ - ~/.config/alacritty/shell.yml
+ - ~/.config/alacritty/window.yml # window and scrolling
+
+ # themes
- ~/.config/alacritty/themes/dracula.yml
-
-# 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)
- #
- # Number of lines/columns (not pixels) in the terminal. 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
-
- # 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
-
- # 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
-
- # GTK theme variant (Linux/BSD only)
- #
- # Override the variant of the GTK theme. Commonly supported values are `dark`
- # and `light`. Set this to `None` to use the default theme variant.
- #gtk_theme_variant: None
-
-#scrolling:
- # Maximum number of lines in the scrollback buffer.
- # Specifying '0' will disable scrolling.
- history: 20000
-
- # Scrolling distance multiplier.
- #multiplier: 3
-
-# Font configuration
-font:
- normal:
- family: Source Code Pro
- style: Regular
-
- bold:
- family: Source Code Pro
- style: Bold
-
- italic:
- family: Source Code Pro
- style: Italic
-
- bold_italic:
- family: Source Code Pro
- style: Bold Italic
-
- # Point size
- size: 11.0
-
- offset:
- x: 0
- y: -1
-
-# If `true`, bold text is drawn using the bright color variants.
-draw_bold_text_with_bright_colors: true
-
-# Colors
-# colors:
-# # Default colors
-# primary:
-# background: '0x282c34'
-# foreground: '0xbbc2cf'
-#
-# # Doom One Dark theme, copied from DistroTube's config
-# # Normal colors
-# normal:
-# black: '0x1c1f24'
-# red: '0xff6c6b'
-# green: '0x98be65'
-# yellow: '0xda8548'
-# blue: '0x51afef'
-# magenta: '0xc678dd'
-# cyan: '0x5699af'
-# white: '0x202328'
-#
-# # Bright colors
-# bright:
-# black: '0x5b6268'
-# red: '0xda8548'
-# green: '0x4db5bd'
-# yellow: '0xecbe7b'
-# blue: '0x3071db' # This is 2257a0 in Doom Emacs but I lightened it.
-# magenta: '0xa9a1e1'
-# cyan: '0x46d9ff'
-# white: '0xdfdfdf'
-
-background_opacity: 1.0
-
-key_bindings:
- - { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
- - { key: C, mods: Control|Shift, action: Copy }
- - { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
- - { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
- - { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
- - { key: Insert, mods: Shift, action: PasteSelection }
- - { key: Key0, mods: Control, action: ResetFontSize }
- - { key: Equals, mods: Control, action: IncreaseFontSize }
- - { key: Plus, mods: Control, action: IncreaseFontSize }
- - { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
- - { key: Minus, mods: Control, action: DecreaseFontSize }
- - { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
+ # - ~/.config/alacritty/themes/doom-one-dark.yml