Configure alacritty

This commit is contained in:
Cyryl Płotnicki 2019-05-02 14:56:08 +01:00
parent 8d0791935b
commit 39d71f6e25
2 changed files with 175 additions and 160 deletions

View file

@ -51,8 +51,16 @@ window:
# - buttonless: Title bar, transparent background, but no title bar buttons
decorations: none
# When true, alacritty starts maximized.
start_maximized: true
# Startup Mode (changes require restart)
#
# Values for `startup_mode`:
# - Windowed
# - Maximized
# - Fullscreen
#
# Values for `startup_mode` (macOS only):
# - SimpleFullscreen
startup_mode: Maximized
scrolling:
# Maximum number of lines in the scrollback buffer.
@ -86,6 +94,7 @@ tabspaces: 4
# Font configuration (changes require restart)
font:
family: DejaVu Sans Mono for Powerline
# Normal (roman) font face
#normal:
# Font family
@ -94,7 +103,7 @@ font:
# - (macOS) Menlo
# - (Linux) monospace
# - (Windows) Consolas
family: DejaVu Sans Mono for Powerline
#family: monospace
# The `style` can be specified to pick a specific face.
#style: Regular
@ -122,7 +131,7 @@ font:
#style: Italic
# Point size
size: 8.0
size: 12.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.
@ -166,8 +175,8 @@ draw_bold_text_with_bright_colors: true
colors:
# Default colors
primary:
background: "0x000000"
foreground: "0xeaeaea"
background: '0x000000'
foreground: '0xeaeaea'
# Bright and dim foreground colors
#
@ -196,25 +205,25 @@ colors:
# Normal colors
normal:
black: "0x000000"
red: "0xd54e53"
green: "0xb9ca4a"
yellow: "0xe6c547"
blue: "0x7aa6da"
magenta: "0xc397d8"
cyan: "0x70c0ba"
white: "0xeaeaea"
black: '0x000000'
red: '0xd54e53'
green: '0xb9ca4a'
yellow: '0xe6c547'
blue: '0x7aa6da'
magenta: '0xc397d8'
cyan: '0x70c0ba'
white: '0xeaeaea'
# Bright colors
bright:
black: "0x666666"
red: "0xff3334"
green: "0x9ec400"
yellow: "0xe7c547"
blue: "0x7aa6da"
magenta: "0xb77ee0"
cyan: "0x54ced6"
white: "0xffffff"
black: '0x666666'
red: '0xff3334'
green: '0x9ec400'
yellow: '0xe7c547'
blue: '0x7aa6da'
magenta: '0xb77ee0'
cyan: '0x54ced6'
white: '0xffffff'
# Dim colors
#
@ -264,7 +273,7 @@ colors:
visual_bell:
animation: EaseOutExpo
duration: 0
color: "0xffffff"
color: '0xffffff'
# Background opacity
#
@ -325,7 +334,7 @@ mouse:
modifiers: None
selection:
semantic_escape_chars: ',│`|:"'' ()[]{}<>'
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
# When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: false
@ -449,8 +458,12 @@ alt_send_esc: true
# - Quit
# - ClearLogNotice
# - SpawnNewInstance
# - ToggleFullscreen
# - None
#
# Values for `action` (macOS only):
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
#
# Values for `command`:
# The `command` field must be a map containing a `program` string and
# an `args` array of command line parameter strings.

View file

@ -70,6 +70,8 @@ ln -vfs "$DIR/tools" ~/
mkdir -vp ~/.config/terminator
rm -f ~/.config/terminator/config
ln "$DIR/.config/terminator/config" ~/.config/terminator/config
mkdir -vp "$HOME/.config/alacritty/"
ln -vfs "$DIR/.alacritty.yml" "$HOME/.config/alacritty/alacritty.yml"
mkdir -p ~/.cargo/
echo "all links done"