Add configuration for alacritty
This commit is contained in:
parent
f52d4e4cc6
commit
084a184d34
4 changed files with 107 additions and 0 deletions
8
.config/alacritty/README.md
Normal file
8
.config/alacritty/README.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# `alacritty`-related Configurations
|
||||
|
||||
This folder contains
|
||||
the [config](./alacritty.toml)
|
||||
for the [`alacritty`](https://alacritty.org/) terminal.
|
||||
|
||||
`colors.toml` is untracked
|
||||
and written by [`color-palette`](../../.local/bin/color-palette).
|
||||
97
.config/alacritty/alacritty.toml
Normal file
97
.config/alacritty/alacritty.toml
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
[general]
|
||||
|
||||
import = ["colors.toml"]
|
||||
|
||||
|
||||
|
||||
[bell]
|
||||
|
||||
animation = "EaseOutSine"
|
||||
duration = 250
|
||||
|
||||
|
||||
|
||||
[cursor]
|
||||
|
||||
blink_interval = 500
|
||||
blink_timeout = 0
|
||||
thickness = 0.1
|
||||
unfocused_hollow = true
|
||||
|
||||
|
||||
[cursor.style]
|
||||
|
||||
blinking = "On"
|
||||
shape = "Block"
|
||||
|
||||
|
||||
|
||||
[font]
|
||||
|
||||
size = 12.0
|
||||
|
||||
|
||||
[font.bold]
|
||||
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Bold"
|
||||
|
||||
|
||||
[font.bold_italic]
|
||||
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Semibold"
|
||||
|
||||
|
||||
[font.italic]
|
||||
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Light"
|
||||
|
||||
|
||||
[font.normal]
|
||||
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Regular"
|
||||
|
||||
|
||||
[font.offset]
|
||||
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
|
||||
|
||||
[[keyboard.bindings]]
|
||||
|
||||
action = "SpawnNewInstance"
|
||||
key = "Return"
|
||||
mods = "Control|Shift"
|
||||
|
||||
|
||||
|
||||
[scrolling]
|
||||
|
||||
history = 99999
|
||||
multiplier = 10
|
||||
|
||||
|
||||
|
||||
[terminal.shell]
|
||||
|
||||
args = ["-l"]
|
||||
program = "/usr/bin/zsh"
|
||||
|
||||
|
||||
|
||||
[window]
|
||||
|
||||
decorations = "none"
|
||||
dynamic_padding = true
|
||||
opacity = 0.90
|
||||
|
||||
|
||||
[window.padding]
|
||||
|
||||
x = 10
|
||||
y = 10
|
||||
|
|
@ -7,6 +7,7 @@ if [ "$SHLVL" = 1 ]; then # ~ if on the outermost shell instance
|
|||
|
||||
# Clear screen and scrollback without a `terminfo` lookup
|
||||
# because `clear` fails on hosts that do not know `$TERM`
|
||||
# (e.g., `alacritty`)
|
||||
printf '\033[H\033[2J\033[3J'
|
||||
|
||||
# On a real Linux `tty`, run `clear_console` for a full reset also
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ set -eu
|
|||
|
||||
|
||||
XDG_BIN_HOME="${XDG_BIN_HOME:-$HOME/.local/bin}"
|
||||
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue