From 3557a7e81d2ae3ee0956f08bf74b0d62cc2b58a8 Mon Sep 17 00:00:00 2001 From: candifloss Date: Tue, 17 Dec 2024 13:54:21 +0530 Subject: [PATCH] Initial config --- README.md | 11 +++++++++-- alacritty.toml | 30 ++++++++++++++++++++++++++++++ colors/candy.toml | 8 ++++++++ keybindings.toml | 5 +++++ 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 alacritty.toml create mode 100644 colors/candy.toml create mode 100644 keybindings.toml diff --git a/README.md b/README.md index 29b1f16..0827eaa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -# dotfiles_alacritty +# Alacritty dotfiles -Config files for Alacritty terminal emulator \ No newline at end of file +Config files for [Alacritty](https://github.com/alacritty/alacritty) terminal emulator. +File location: `$HOME/.config/alacritty/alacritty.toml` +To use this config: +```bash +git clone https://git.candifloss.cc/candifloss/dotfiles_alacritty.git ~/.config/alacritty +``` + +Config reference: [ALacritty man-pages](https://alacritty.org/config-alacritty.html) \ No newline at end of file diff --git a/alacritty.toml b/alacritty.toml new file mode 100644 index 0000000..47cc49e --- /dev/null +++ b/alacritty.toml @@ -0,0 +1,30 @@ +[window] +decorations_theme_variant = "Dark" +dynamic_title = true +title = "Terminal" +opacity = 1 + +[font] +normal = { family = "IosevkaTermSlab Nerd Font Mono" } +size = 11 + +[selection] +save_to_clipboard = true + +[cursor] +style = { shape = "Block", blinking = "On" } +thickness = 1.0 + +[colors] +cursor = { text = "#000000", cursor = "#22785E" } +selection = { text = "#D3D7CF", background = "#262626" } + +[colors.primary] +background = "#101010" +foreground = "#BBBBBB" + +[general] +import = [ + "~/.config/alacritty/colors/candy.toml", + "~/.config/alacritty/keybindings.toml" +] diff --git a/colors/candy.toml b/colors/candy.toml new file mode 100644 index 0000000..0272c31 --- /dev/null +++ b/colors/candy.toml @@ -0,0 +1,8 @@ +[colors.normal] +green = "#3ba04d" +blue = "#2288d6" +red = "#d62222" +magenta = "#aa7240" +yellow = "#757575" +cyan = "#11a0af" + diff --git a/keybindings.toml b/keybindings.toml new file mode 100644 index 0000000..39db62b --- /dev/null +++ b/keybindings.toml @@ -0,0 +1,5 @@ +[keyboard] +bindings = [ + { key= "C", mods = "Control|Shift", action = "Copy" }, + { key= "V", mods = "Control|Shift", action = "Paste" } +] \ No newline at end of file