From 9e60349f9b02561a82c15d9fedf33e1906f3445b Mon Sep 17 00:00:00 2001 From: nodiego Date: Mon, 6 Jan 2025 01:52:26 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"alacritty"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alacritty/alacritty.toml | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 alacritty/alacritty.toml diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..7875b15 --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,50 @@ +# $HOME/.config/alacritty/alacritty.toml +# by Rito Ghosh 2023-10-06 + +# Alacritty now uses TOML formatting for its config files. +# This is a simple example. + +# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd +# It is not obvious how it translates to TOML. But it is extremely straightforward. + +# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively. +# specifics of variables go under them. e.g.- look under "dynamic_padding" under- +# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#window +# write `dynamic_padding = true` (without backticks -`) under the table [window] +# for variables with multiple values, use "dotted keys". Like setting `padding.x = 5` under [window]. +# This is simple. If not clear, do several trials and errors. + +# Below is my initial set-up. The TOML homepage (https://toml.io/en/v1.0.0) was very helpful in figuring this out. +# I put the file alacritty.toml in $HOME/.config/alacritty. However it can be kept anywhere among the places mentioned in +# https://github.com/alacritty/alacritty/tree/master#configuration + +[window] + +opacity = 0.9 + +padding.x = 10 +padding.y = 10 + +decorations = "None" +decorations_theme_variant = "None" + +dimensions = {columns = 146, lines = 36} + +[font] + +normal.family = "MesloLGM Nerd Font" +bold.family = "MesloLGM Nerd Font" +italic.family = "MesloLGM Nerd Font" +bold_italic.family = "MesloLGM Nerd Font" + +size = 10.25 + +[general] +import = [ + "~/.config/alacritty/themes/themes/gruvbox_material_medium_dark.toml" +] + + +# Tip: for inspiration, look for values in the source code files of your favorite VS Code themes, and use the color picker in +# Google to test colors before setting a value, or simply using an editor such as VS Code where colors are displayed in a +# small box when a HEX is detected by the editor. \ No newline at end of file