Add alacritty

This commit is contained in:
Rob C. 2025-01-08 03:00:24 +01:00
parent a65e67a33f
commit 36eeef7fe6
2 changed files with 42 additions and 0 deletions

21
alacritty/README.md Normal file
View File

@ -0,0 +1,21 @@
# Alacritty
My configuration for the [Alacritty](https://alacritty.org/) terminal emulator.
## Installation
Symlink `hezkore.toml` to `$XDG_CONFIG_HOME/alacritty/hezkore.toml`
Or `%APPDATA%\alacritty\alacritty.toml` on Windows.
Then add `import = [ "./hezkore.toml" ]` under `[general]` in your `alacritty.toml` file.
### Automatic Installation (Linux)
```bash
mkdir -p $XDG_CONFIG_HOME/alacritty
ln -s $PWD/hezkore.toml $XDG_CONFIG_HOME/alacritty/hezkore.toml
# Only if you don't already have a [general] section in your alacritty.toml
echo '[general]' > $XDG_CONFIG_HOME/alacritty/alacritty.toml
echo 'import = [ "./hezkore.toml" ]' >> $XDG_CONFIG_HOME/alacritty/alacritty.toml
```

21
alacritty/hezkore.toml Normal file
View File

@ -0,0 +1,21 @@
# Hezkore's Alacritty settings
[window]
dimensions = { columns = 120, lines = 40 }
opacity = 0.98
resize_increments = true
[scrolling]
multiplier = 1
[font]
normal = { family = "Hack", style = "Regular" }
size = 12
[colors]
transparent_background_colors = true
[colors.primary]
background = "#1e1f29"
[mouse]
hide_when_typing = true