From 38022392c622872d6a02c83ca5438b7f92253a48 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Tue, 20 May 2025 09:52:19 -0700 Subject: Update theme --- .gitmodules | 8 +++++--- alacritty/.config/alacritty/alacritty-theme | 1 + home/scripts/theme.sh | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 160000 alacritty/.config/alacritty/alacritty-theme diff --git a/.gitmodules b/.gitmodules index 9a042b9..9df473e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,8 @@ -[submodule "alacritty/.config/alacritty/alacritty-theme"] - path = alacritty/.config/alacritty/alacritty-theme - url = https://github.com/alacritty/alacritty-theme [submodule "tmux/.tmux/plugins/tpm"] path = tmux/.tmux/plugins/tpm url = https://github.com/tmux-plugins/tpm + shallow = true +[submodule "alacritty/.config/alacritty/alacritty-theme"] + path = alacritty/.config/alacritty/alacritty-theme + url = https://github.com/alacritty/alacritty-theme + shallow = true diff --git a/alacritty/.config/alacritty/alacritty-theme b/alacritty/.config/alacritty/alacritty-theme new file mode 160000 index 0000000..59a96ef --- /dev/null +++ b/alacritty/.config/alacritty/alacritty-theme @@ -0,0 +1 @@ +Subproject commit 59a96ef4c734f97a1aadaa619b31cc1ca90a0fbc diff --git a/home/scripts/theme.sh b/home/scripts/theme.sh index 3608c14..830f56b 100755 --- a/home/scripts/theme.sh +++ b/home/scripts/theme.sh @@ -13,10 +13,10 @@ log DEBUG "src $THEME_SRC -> dest $THEME_DEST" THEME_TEMPL="{{THEME}}" -find "$THEME_SRC/" -type f | while read source_file; do +find -L "$THEME_SRC/" -type f | while read source_file; do destination_file=`echo "$source_file" | sed "s|^$THEME_SRC|$THEME_DEST|g"` mkdir -p `dirname $destination_file` - log DEBUG "src $source_file -> dest $dest_file" + log DEBUG "src $source_file -> dest $destination_file" cat "$source_file" | sed "s|$THEME_TEMPL|$THEME|g" > $destination_file done -- cgit v1.2.3-70-g09d2