From 3bd8e89b81da1f173f125b3f8519353844d99b79 Mon Sep 17 00:00:00 2001 From: Vincent Capelle Date: Sun, 17 Nov 2024 18:56:36 -0500 Subject: [PATCH] feat: Add Alacritty and configuration - Add `alacritty` to `manjaro-packages` - Add `alacritty-theme` repo as submodule for themes - Add Alacritty config directory link to `install.conf.yaml` --- .gitmodules | 3 +++ alacritty/alacritty.toml | 17 +++++++++++++++++ alacritty/themes | 1 + install.conf.yaml | 11 ++++++----- manjaro_packages | 1 + setup.sh | 2 +- 6 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 alacritty/alacritty.toml create mode 160000 alacritty/themes diff --git a/.gitmodules b/.gitmodules index 1af14d0..410786a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,6 @@ path = dotbot url = https://github.com/anishathalye/dotbot ignore = dirty +[submodule "alacritty/themes"] + path = alacritty/themes + url = https://github.com/alacritty/alacritty-theme.git diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..7d6bc40 --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,17 @@ +import = [ + "~/.config/alacritty/themes/themes/solarized_dark.toml" +] + +[shell] +program = "/bin/zsh" +args = ["-l"] + +[env] +TERM = "xterm-256color" + +[window] +startup_mode = "Maximized" + +[font] +normal = { family = "DejaVuSansM Nerd Font Mono", style = "Regular" } + diff --git a/alacritty/themes b/alacritty/themes new file mode 160000 index 0000000..3246429 --- /dev/null +++ b/alacritty/themes @@ -0,0 +1 @@ +Subproject commit 3246429cfc4c768053fca4caecf85ec8a57fef75 diff --git a/install.conf.yaml b/install.conf.yaml index e666742..b52d3f1 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -7,13 +7,14 @@ - ~/.config/zsh - link: - ~/.zshenv: zsh/zshenv - ~/.config/zsh/.zshrc: zsh/zshrc - ~/.config/zsh/.zprofile: zsh/zprofile + ~/.byobu: byobu + ~/.config/alacritty: alacritty + ~/.config/nvim: vim ~/.config/zsh/.p10k.zsh: zsh/p10k.zsh + ~/.config/zsh/.zprofile: zsh/zprofile + ~/.config/zsh/.zshrc: zsh/zshrc ~/.config/zsh/dircolors.zsh: zsh/dircolors.zsh - ~/.config/nvim: vim - ~/.byobu: byobu + ~/.zshenv: zsh/zshenv - shell: - [git submodule update --init --recursive, Installing submodules] diff --git a/manjaro_packages b/manjaro_packages index fcf15f2..dbeaa04 100644 --- a/manjaro_packages +++ b/manjaro_packages @@ -1,3 +1,4 @@ +alacritty base-devel byobu ctags diff --git a/setup.sh b/setup.sh index a74120c..27d397d 100755 --- a/setup.sh +++ b/setup.sh @@ -11,7 +11,7 @@ pipx install --include-deps ansible if [ ! -d $DOTFILES_DIR ] then - git clone https://github.com/vicnett/dotfiles.git $DOTFILES_DIR + git clone --recurse-submodules https://github.com/vicnett/dotfiles.git $DOTFILES_DIR fi if [ -f $PLAYBOOK_PATH ]