From 36eeef7fe63c6ae35a43606985bb7485da439961 Mon Sep 17 00:00:00 2001 From: "Rob C." Date: Wed, 8 Jan 2025 03:00:24 +0100 Subject: [PATCH] Add alacritty --- alacritty/README.md | 21 +++++++++++++++++++++ alacritty/hezkore.toml | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 alacritty/README.md create mode 100644 alacritty/hezkore.toml diff --git a/alacritty/README.md b/alacritty/README.md new file mode 100644 index 0000000..e979b5b --- /dev/null +++ b/alacritty/README.md @@ -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 +``` + diff --git a/alacritty/hezkore.toml b/alacritty/hezkore.toml new file mode 100644 index 0000000..065d131 --- /dev/null +++ b/alacritty/hezkore.toml @@ -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