From 2f5eb260f7a55071e7c68a015c34a06a1b955806 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 2 Aug 2023 22:30:36 +0200 Subject: [PATCH] added colorschemes to alacritty --- .gitmodules | 3 ++ alacritty/.config/alacritty/alacritty.yml | 44 +++++-------------- .../.config/alacritty/colorschemes/catppuccin | 1 + .../colorschemes/gruvbox/gruvbox.yml | 31 +++++++++++++ 4 files changed, 45 insertions(+), 34 deletions(-) create mode 160000 alacritty/.config/alacritty/colorschemes/catppuccin create mode 100644 alacritty/.config/alacritty/colorschemes/gruvbox/gruvbox.yml diff --git a/.gitmodules b/.gitmodules index dbe7c8a..64d38fc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,6 @@ [submodule "vim/.vim/pack/default/start/vim-polyglot"] path = vim/.vim/pack/default/start/vim-polyglot url = https://github.com/sheerun/vim-polyglot +[submodule "alacritty/.config/alacritty/colorschemes/catppuccin"] + path = alacritty/.config/alacritty/colorschemes/catppuccin + url = https://github.com/catppuccin/alacritty.git diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 2887029..bb54272 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -1,3 +1,4 @@ +--- font: normal: family: "MesloLGS NF" @@ -24,40 +25,15 @@ font: glyph_offset: x: 0 y: 0 - + style: Regular - antialias: lcd + antialias: lcd AppleFontSmoothing: true -#colors (Gruvbox dark) -colors: - # Default colors - primary: - #hard contrast: background = '#1d2021' - background: '#282828' - # soft contrast: background = '#32302f' - foreground: '#ebdbb2' - - # Normal colors - normal: - black: '#282828' - red: '#cc241d' - green: '#98971a' - yellow: '#d79921' - blue: '#458588' - magenta: '#b16286' - cyan: '#689d6a' - white: '#a89984' - #white: '#ffffff' - - # Bright colors - bright: - black: '#928374' - red: '#fb4934' - green: '#b8bb26' - yellow: '#fabd2f' - blue: '#83a598' - magenta: '#d3869b' - cyan: '#8ec07c' - white: '#ebdbb2' - #white: '#ffffff' +import: + # uncomment the flavour you want below: + - ~/.config/alacritty/colorschemes/catppuccin/catppuccin-mocha.yml +# - ~/.config/alacritty/colorschemes/catppuccin/catppuccin-macchiato.yml +# - ~/.config/alacritty/colorschemes/catppuccin/catppuccin-frappe.yml +# - ~/.config/alacritty/colorschemes/catppuccin/catppuccin-latte.yml +# - ~/.config/alacritty/colorschemes/gruvbox/gruvbox.yml diff --git a/alacritty/.config/alacritty/colorschemes/catppuccin b/alacritty/.config/alacritty/colorschemes/catppuccin new file mode 160000 index 0000000..3c808cb --- /dev/null +++ b/alacritty/.config/alacritty/colorschemes/catppuccin @@ -0,0 +1 @@ +Subproject commit 3c808cbb4f9c87be43ba5241bc57373c793d2f17 diff --git a/alacritty/.config/alacritty/colorschemes/gruvbox/gruvbox.yml b/alacritty/.config/alacritty/colorschemes/gruvbox/gruvbox.yml new file mode 100644 index 0000000..e056748 --- /dev/null +++ b/alacritty/.config/alacritty/colorschemes/gruvbox/gruvbox.yml @@ -0,0 +1,31 @@ +--- +# Colors (Gruvbox dark) +colors: + # Default colors + primary: + # Hard contrast: background = '#1d2021' + background: '#282828' + # soft contrast: background = '#32302f' + foreground: '#ebdbb2' + + # Normal colors + normal: + black: '#282828' + red: '#cc241d' + green: '#98971a' + yellow: '#d79921' + blue: '#458588' + magenta: '#b16286' + cyan: '#689d6a' + white: '#a89984' + + # Bright colors + bright: + black: '#928374' + red: '#fb4934' + green: '#b8bb26' + yellow: '#fabd2f' + blue: '#83a598' + magenta: '#d3869b' + cyan: '#8ec07c' + white: '#ebdbb2'